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