Tarantool CE/EE Documentation portal logo
Support
Updated at July 17, 2026   02:08 PM

box.schema.user.enable()

box.schema.user.enable(username)

Grants usage and session permissions to the subject user. Equivalent to the following call:

box.schema.user.grant(username, 'usage,session', 'universe', nil, {if_not_exists = true})

For more information about granting permissions see section box.schema.user.grant.

Parameters:

  • username (string) — the name of the subject user

Returns

(if success) nothing

Possible errors:

  • NO_SUCH_USER - in case the subject user is not found.