WRDAuthPlugin::GetCurrentWebhareUser (open)
Get the currently loggedin WebHare user
Syntax
LOADLIB "mod::wrd/lib/internal/auth/webdesignplugin.whlib";
OBJECT FUNCTION GetCurrentWebhareUser()
Return value
OBJECT
Result - either userobject or error will be set
STRING error
Failure reason
INTEGER impersonatedentity
ID of user or role being impersonated
STRING impersonatedtitle
Logn of the user or title of the role being impersonated
BOOLEAN isimpersonation
Whether this is a (failed) impersonation (generally not requiring a forced logout)