AlterUser in sqlparser::ast - Rust

pub struct AlterUser {
Show 19 fields pub if_exists: bool, pub name: Ident, pub rename_to: Option<Ident>, pub reset_password: bool, pub abort_all_queries: bool, pub add_role_delegation: Option<AlterUserAddRoleDelegation>, pub remove_role_delegation: Option<AlterUserRemoveRoleDelegation>, pub enroll_mfa: bool, pub set_default_mfa_method: Option<MfaMethodKind>, pub remove_mfa_method: Option<MfaMethodKind>, pub modify_mfa_method: Option<AlterUserModifyMfaMethod>, pub add_mfa_method_otp: Option<AlterUserAddMfaMethodOtp>, pub set_policy: Option<AlterUserSetPolicy>, pub unset_policy: Option<UserPolicyKind>, pub set_tag: KeyValueOptions, pub unset_tag: Vec<String>, pub set_props: KeyValueOptions, pub unset_props: Vec<String>, pub password: Option<AlterUserPassword>,
}
Expand description

Whether to only alter the user if it exists.

The name of the user to alter.

Reset the user’s password.

Abort all running queries for the user.

Optionally add a delegated role authorization.

Optionally remove a delegated role authorization.

Enroll the user in MFA.

Set the default MFA method for the user.

Remove the user’s default MFA method.

Modify an MFA method for the user.

Add an MFA OTP method with optional count.

Set a user policy.

Unset a user policy.

Key/value tag options to set on the user.

Tags to unset on the user.

Key/value properties to set on the user.

Properties to unset on the user.

§
§
§
§
§
§