Updated at September 7, 2026 01:25 PM
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()
Returns
the name of the current user
Return type
string