Gets the name of an authenticated user.
The name of an authenticated user.
GetAuthUser
()
IsUserInRole,
cflogin,
cfloginuser,
Securing Applications in Developing ColdFusion MX 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:
cfloginuser.
cfloginuser
, it checks for a web server login (cgi.remote_user).<H3>GetAuthUser Example</H3> <P>Authenticated User: <cfoutput>GetAuthUser()</cfoutput>