box.session.user() | Tarantool

box.session.user()

box.session.user()

Return the name of the current Tarantool user. If the current user is changed temporarily using the box.session.su() method, box.session.user() ignores this change. In this case, box.session.user() returns the initial current user (the user who calls the box.session.su() function).

See also: box.session.uid()

Return:the name of the current user
Rtype:string
Found what you were looking for?
Feedback