Switch to: V9V8V7V6V5

DROP USER

Syntax

drop_user_statement
	:	"drop"! "user"! user_identifier (COMMA! user_identifier)*
			{ ## = #(#[USER_DROP, "USER_DROP"],##); }

Arguments

user_identifier

the name of deleted user.

Description

This command force Valentina Server to delete users with names defined in the statement. This command is available for ADMINISTRATOR of vserver only.

Possible Errors

  • ERR_CONNECTION_OPERATION_NOT_PERMITTED - Valentina is running in local mode or query-issuer is not administrator of Valentina Server.
  • ERR_CONNECTION_INVALID_USER_NAME_OR_PASSWORD - user mentioned in the query is not exist.

Examples

Example:

DROP USER User1;