Skip to content

$Membership.GetProperty

Overview

object $Membership.GetProperty ( identity, property )
Returns specified property of an identity.

Arguments

Identity | String identity Identity to find manager of

String property Property name to get.

Remarks

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.

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.

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" is a valid property name and returns the department name of a user.

Examples

Fetching name of initiator;

$Membership.GetProperty( $Initiator, 'Name')

Fetching department of initiator;

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

See Also