party::get (public)

 party::get [ -party_id party_id ] [ -email email ] \
    [ -element element ]

Defined in packages/acs-tcl/tcl/community-core-procs.tcl

Returns party information. Will also retrieve whether this party is also a person, a group, a user or a registered user and in this case also extra information belonging in referenced table will be extracted.

Switches:
-party_id (optional)
id of the party
-email (optional)
if specified and no party_id is given, party lookup will happen by email.
-element (optional)
if specified, only this attribute will be returned from the whole dict.
Returns:
dict containing party information, or an empty dict if no party was found. A string if 'element' was specified.

Testcases:
acs_subsite_test_email_confirmation
[ show source ]
Show another procedure: