GETAUTHUSER | |
Description
Gets the name of an authenticated user. |
|
Returns
The name of an authenticated user. |
|
Category
Security functions |
|
Function syntaxGetAuthUser() |
|
See also
IsUserInRole, cflogin, cfloginuser; Chapter 16, "Securing Applications" in ColdFusion MX Developer's Guide |
|
History
ColdFusion MX: Added this function. |
|
Usage
This function works with cflogin authentication or web server authentication. It checks for a logged-in user as follows:
|
|
Example<H3>GetAuthUser Example</H3> <P>Authenticated User: <cfoutput>#GetAuthUser()#</cfoutput> |