Change password for the currently authenticatd user.
The new password to be applied.
Optional
options: ChangePasswordOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Drops an existing group.
The name of the group to drop.
Optional
options: DropGroupOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Drops an existing user.
The username of the user to drop.
Optional
options: DropUserOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Returns a list of all existing groups.
Optional
options: GetAllGroupsOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<Group[]>A node-style callback to be invoked after execution.
Returns a list of all existing users.
Optional
options: GetAllUsersOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<UserAndMetadata[]>A node-style callback to be invoked after execution.
Returns a group by it's name.
The name of the group to retrieve.
Optional
options: GetGroupOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<Group>A node-style callback to be invoked after execution.
Returns a list of roles available on the server.
Optional
options: GetRolesOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<Role[]>A node-style callback to be invoked after execution.
Returns a specific user by their username.
The username of the user to fetch.
Optional
options: GetUserOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<UserAndMetadata>A node-style callback to be invoked after execution.
Creates or updates an existing group.
The group to update.
Optional
options: UpsertGroupOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
Creates or updates an existing user.
The user to update.
Optional
options: UpsertUserOptionsOptional parameters for this operation.
Optional
callback: NodeCallback<void>A node-style callback to be invoked after execution.
UserManager is an interface which enables the management of users, groups and roles for the cluster.