box.schema.user.exists()
-
box.schema.user.
exists
(user-name)¶ Return
true
if a user exists; returnfalse
if a user does not exist. For explanation of how Tarantool maintains user data, see section Users and reference on _user space.Parameters: - user-name (
string
) – the name of the user
Rtype: bool
Example:
box.schema.user.exists('Lena')
- user-name (