GetProperty¶
Returns specified property of an identity.
1 |
|
Parameters¶
( string | Identity ) identity
Identity to find property 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.
Fetching name of initiator¶
1 |
|
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. 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.
Fetching department of initiator¶
1 |
|
See Also¶
- ( string | number | DateTimeOffset )