getUserProperty
Syntax | getUserProperty(userNameOrKey, propertyKey) | Package | |
Alias | Pkg Usage |
Description
Gets the specified user property.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
userNameOrKey | String | Yes | User name or user key to get a property for. |
propertyKey | String | Yes | Key of the property to retrieve. |
Return Type
String
Example
string customProperty = getUserProperty("jdoe", "custom.property");