Gets a single user by their ID.
The users ID
If true this function will return values cached locally. This is usually preferable
unless you need to guarantee the most up-to-date results. Defaults to true
.
A result with a user object. If success is true but data is undefined that means the request succeeded but no user exists with the given id.
Gets a single user by their username (case insensitive).
The username of the user.
If true this function will return values cached locally. This is usually preferable
unless you need to guarantee the most up-to-date results. Defaults to true
.
A result with a user object. If success is true but data is undefined that means the request succeeded but no user exists with the given id.
Gets multiple users at once. This function will not succeed if it is unable to resolve all provided ids into a user.
The userIds to get.
Specifies if all users must be found. If set to false, the function will succeed even if not all userIds resolve to a user.
An array of user objects.
Provides access to user information.