mgd_is_setuid

(unknown)

mgd_is_setuid -- Test whether authentication has changed since request start

Description

bool mgd_is_setuid (void)

Minimum version: Midgard 1.4 (Bifrost)

This function returns TRUE is mgd_auth_midgard was called at any time during the page request, FALSE otherwise. Calling mgd_unsetuid cancels mgd_auth_midgard, so after calling it mgd_is_setuid will also return FALSE.