new User()
Details of an Altspace user.
Properties:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
userId |
String | Unique id for this user (per site origin) |
|||||||||||||||
displayName |
String | The user's chosen display name. |
|||||||||||||||
isModerator |
Boolean | True if the user should be able to moderate apps. |
|||||||||||||||
avatarInfo |
Object | What avatar the user is wearing Properties
|
Events
avatarchange
The avatarchange event is fired when the user changes their avatar.
Properties:
Name | Type | Description |
---|---|---|
data |
Object | The new avatar info, in the same format as User.avatarInfo |