Skip to content

Get

Retrieves an identity based on its unique identifier.

1
$Membership.Get(id: ( string | Identity )):( Identity | null )

Parameters

( string | Identity ) id
    The unique identifier of the identity to retrieve.

Returns

The identity associated with the given ID.

Examples

Read an identity selected on the form

1
2
3
4
5
6
var identity = $Membership.Get($Xml.Evaluate('Assignee'));

if (identity) {
    $Xml.SetValue('AssigneeName', identity.Name);
    $Xml.SetValue('AssigneeType', identity.Type);
}

See Also