services/user

Methods

(static) get(userName)

Source:

Get user info

Parameters:
Name Type Description
userName string

(static) getUserNames(userIds)

Source:

Get user names for ids

Parameters:
Name Type Description
userIds Array.<string>

(static) logout()

Source:

Logout

(static) me()

Source:

Get the current user

(static) preference(name, value)

Source:

Set user preference

Parameters:
Name Type Description
name string
value object

(static) search(options)

Source:

Search for user

Parameters:
Name Type Description
options object
Properties
Name Type Attributes Description
query object <optional>
userIds Array.<string> <optional>