Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Identity $Membership.FindIdentity(path: string, type: stringIdentityType)

Arguments

string path
Specifies the path of identity depending on identity type.
string IdentityType type
Specifies the type of identity to be found. If not specified "User" type is used.

Remarks

Path and Type arguments may be one of following values

User : Logon id of user. Ex: "John.doe"

Group : Name of group. Ex: "Developers"

OrganizationUnit : Qualified path of organization unit. Ex: "General Management\Accounting"

Example

Find User

Code Block
languagejs
var user = $Membership.FindIdentity('elton.john');

...

Code Block
languagejs
var orgUnit = $Membership.FindIdentity('General Management\\Accounting','OrganizationUnit');

Types

IdentityType

...