box.schema.user.disable()
-
box.schema.user.disable(username)¶ Revokes
usageandsessionpermissions from the subject user. Equivalent to the following call:box.schema.user.revoke(username, 'usage,session', 'universe', nil, {if_not_exists = true})
Note
session- allows the binary protocol layer (iproto) to authenticate the userusage- lets user use their privileges on database objects (such as read, write and alter space)
For more information about revoking permissions see section box.schema.user.revoke.
Parameters: - username (
string) – the name of the subject user
Return: (if success) nothing
Possible errors:
NO_SUCH_USER- in case the subject user is not found.