Kind: global class
This method is used to get the profile information for a user.
Kind: instance method of [UsersProfileFacet](#UsersProfileFacet)
See: users.profile.get
Param | Type | Description |
---|---|---|
user | ? |
User to retrieve profile info for |
include_labels | ? |
Include labels for each ID in custom profile fields |
[optCb] | function |
Optional callback, if not using promises. |
This method is used to set the profile information for a user.
Kind: instance method of [UsersProfileFacet](#UsersProfileFacet)
See: users.profile.set
Param | Type | Description |
---|---|---|
user | ? |
ID of user to change. This argument may only be specified by team admins on paid teams. |
profile | ? |
Collection of key:value pairs presented as a URL-encoded JSON hash. |
name | ? |
Name of a single key to set. Usable only if profile is not passed. |
value | ? |
Value to set a single key to. Usable only if profile is not passed. |
[optCb] | function |
Optional callback, if not using promises. |