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

box.session.user()

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()]{.title-ref} 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