Does $_LW->isSSOAuthOnlyUser()
take usernames as arguments?
For example, can I say:
$_LW->isSSOAuthOnlyUser(aehsan,jdoe,)
Thanks.
Does $_LW->isSSOAuthOnlyUser()
take usernames as arguments?
For example, can I say:
$_LW->isSSOAuthOnlyUser(aehsan,jdoe,)
Thanks.
Hi Akbar – this is a quick one, no, isSSOAuthOnlyUser only returns a boolean true/false for if the person is a logged-in SSO only (not LiveWhale editor) user. If you want to check specifics about the logged-in person, you could check $_SESSION in your custom code (for logged-in users your current username is in $_SESSION['livewhale']['manage']['username']
for example, it may be the same for SSO users).