Understand how social.plus SDK handles user identity and data management without storing personal information.
userId
- a string that uniquely identifies the user and remains immutable throughout their lifetime.
userId
cannot be changed. Choose your user identification strategy carefully.Attribute | Data Type | Description |
---|---|---|
userId | string | The unique identifier of this user |
displayName | string | The display name shown to other users |
roles | Array<string> | A list of roles assigned to this user |
metadata | Object | Custom metadata for this user |
avatarCustomUrl | string | Custom URL for user avatar |
flagCount | integer | Number of users that have flagged this user |
hashFlag | Object | Internal hash for checking if user was flagged |
isGlobalBan | boolean | Indicates if user is globally banned |
isDeleted | boolean | Indicates if user is deleted |
createdAt | date | When the user was created in social.plus |
updatedAt | date | When the user was last updated |