Source
pub async fn alter_user( &self, name: String, action: String, value: String, ) -> Result<AlterUserResponse, KineticaError>
Alter a user
Alters a user.
name- Name of the user to be altered. Must be an existing user.action- Modification operation to be applied to the user.value- The value of the modification, depending onaction.
Source
pub async fn alter_user_with_opts( &self, name: String, action: String, value: String, options: AlterUserRequestOptions, ) -> Result<AlterUserResponse, KineticaError>
Alter a user
Alters a user.
name- Name of the user to be altered. Must be an existing user.action- Modification operation to be applied to the user.value- The value of the modification, depending onaction.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn alter_user_raw( &self, request: &AlterUserRequest, ) -> Result<AlterUserResponse, KineticaError>
Sends a pre-built AlterUserRequest to the /alter/user endpoint.
Source
pub async fn alter_user_from_url( &self, url: &str, request: &AlterUserRequest, ) -> Result<AlterUserResponse, KineticaError>
Sends a pre-built AlterUserRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.