Gets the name of an authenticated user.
The name of an authenticated user.
GetAuthUser() |
cflogin, cfloginuser, cflogout, GetUserRoles, IsUserInAnyRole, IsUserInRole, IsUserLoggedIn, ColdFusion security features in the Developing ColdFusion Applications
ColdFusion MX: Added this function.
This function works with cflogin authentication or web server authentication. It checks for a logged-in user as follows:
<H3>GetAuthUser Example</H3>
|
From ColdFusion 11 onwards, this function is not applicable when a user is logged in using Admin API.
Sign in to your account