Users client
The Users client can be used to fetch users and user groups by name, and also features some password management operations.
Users and user groups are entities that can be used with the Querying client and the Entities client.
Get users
The GetUserAsync method gets a user by username.
The following example fetches the user entity named superuser:
RequestResponse
IEntity superuser = await MClient.Users.GetUserAsync("superuser");
Get user groups
The GetUserGroupAsync method gets a user group by name.
The following example fetches the user group entity named superusers.
RequestResponse
IEntity superusersGroup = await MClient.Users.GetUserGroupAsync("superusers");