Tarantool CE/EE Documentation portal logo
Support
Updated at October 22, 2026   11:37 AM

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() 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