box.schema.user.drop() | Tarantool

box.schema.user.drop()

box.schema.user.drop(username[, {options}])

Drop a user. For explanation of how Tarantool maintains user data, see section Users and reference on _user space.

Parameters:
  • username (string) – the name of the user
  • options (table) – if_exists = true|false (default = false) - boolean; true means there should be no error if the user does not exist.

Examples:

box.schema.user.drop('testuser')

See also: Managing users.

Found what you were looking for?
Feedback