Updated at October 21, 2026 10:46 AM
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