getUser #
Gets a user.
Future<KuzzleUser> getUser(String id)
Property | Type | Description |
---|---|---|
id | String | User kuid |
Return #
The retrieved User
object.
Usage #
final result = await kuzzle.security.getUser('john.doe');
/*
User {
_id: 'john.doe',
content:
{ profileIds: [ 'default' ],
fullName: 'John Doe',
_kuzzle_info:
{ author: -1,
createdAt: 1561447939790,
updatedAt: null,
updater: null } } }
*/
Edit this page on Github(opens new window)