Class: UserInfo

UserInfo

Extended user information
Properties:
Name Type Description
identity String User identity
friendlyName String User friendly name. Null if not set
attributes Object Object with custom attributes for user
Source:
Fires:

Methods

updateAttributes(attributes) → {Promise.<UserInfo>}

Update the UserInfo's attributes.
Parameters:
Name Type Description
attributes Object The new attributes object.
Source:
Returns:
A Promise for the UserInfo
Type
Promise.<UserInfo>

updateFriendlyName(name) → {Promise.<UserInfo>}

Update the Users's friendlyName.
Parameters:
Name Type Description
name String The new friendlyName.
Source:
Returns:
A Promise for the UserInfo
Type
Promise.<UserInfo>

Events

updated

Fired when the UserInfo's fields have been updated.
Source: