Creates a new user from credentials.
The username and password to use for the new user
The new user's ID
Deletes a user.
The user's ID
Edits a user's information. This method is limited to their username, password, and clearing their failed logins.
The user's ID
The information to change / updates to make
Grants and revokes roles, ACLs, and permissions on a user directly.
This is intended for if you know the current state of these values (such as in a web panel), as it does overwrite their current states. If you don't know them (such as in a CLI), see grant instead.
The user's ID
Arrays of the role, ACL, and permission IDs to apply to the user
Gets a user from their ID.
The user's ID
The user's information, either full or limited depending on your permission level
Grants and revokes roles, ACLs, and permissions on a user.
This is intended for cases where you don't already know the current state of these values (such as in a CLI), as it does not overwrite. If you do know them (such as in a web panel), see editGrants instead.
The user's ID
An array of grantable objects using their IDs, types, and whether to grant or revoke the object
Gets the list of users and their IDs.
A list of users (with their usernames and IDs)
Methods for reading, listing, and updating users and their grants.