Versions Compared

Key

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

...

Properties are generic key values of identities. Property names are changed by system membership provider but some well-known properties are always supported by any membership provider.

Example

Fetching name of initiator

Code Block
languagejs
$Membership.GetProperty( $Initiator, 'Name')

Example

...

Well-Known Properties

Id : Returns the identity Id

Name : Returns the first name of person identity.

Surname : Returns the surname of person identity.

EMailAddress : Returns the email address of identity.

DisplayName : Returns the display name of identity.

Language : Returns the language preference of identity.

Example

Fetching name of initiator

Code Block
languagejs
$Membership.GetProperty( $Initiator, 'Name')

Generic Property Names

Generic property names are resolved by configured membership provider. For example "Organization" membership provider uses repository column names as property. Therefore "Employee.Department.Name

...

Examples

...

languagejs

...

" is a valid property name and returns the department name of a user. Some other property names are as follows :

Employee.RegistryNumber : Returns the registry number of the employee.

Employee.StartDate : Returns the start date of the employee.

Employee.Department.Name : Returns the department name of the employee.

Employee.Department.Id : Returns the department Id of the employee.

Example

Fetching department of initiator

Code Block
languagejs
$Membership.GetProperty( $Initiator, 'Employee.Department.Name')

See Also

  • Organization+Schema