Identity Class
This class provides API for performing identity-related operations, such as setting a username.
Constructor
Syntax | Description |
Identity(ApplicationContext appContext, Attribute attribute) throws LicensingException or UnsupportedEncodingException |
Creates an identity object using the application context and attribute. |
API
Modifier and Type | API |
String |
throws LicensingException or UnsupportedEncodingException |
void |
dispose() throws LicensingException |
Attribute
The table below provides details about the attribute(s) that can be set:
Attribute for... | Key and Description |
---|---|
Setting the user name |
>Attribute Key - SNTL_ATTR_IDENTITY_USERNAME >Sets the user name that needs to be aliased to a different string. >The maximum length of the string is 31 characters. The standard character set includes letters, numbers, and the following symbols: •% (percentage) • . (period) • - (hyphen) • _(underscore). |