box.session.effective_user() | Tarantool
box.session.effective_user()

box.session.effective_user()

box.session.effective_user()

Return the name of the effective user – this user determines the process’s permissions at any given moment. If the current user is changed temporarily using the box.session.su() method, box.session.effective_user() shows this change.

See also: box.session.euid()

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