Getauthuser - MACROMEDIA COLDFUSION MX 61-CFML Reference

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

GetAuthUser

Description
Gets the name of an authenticated user.
Returns
The name of an authenticated user.
Category
Authentication functions
Function syntax
GetAuthUser()
See also
IsUserInRole, cflogin, cfloginuser,
ColdFusion MX Applications
History
ColdFusion MX: Added this function.
Usage
This function works with
logged-in user as follows:
It checks for a login made with
1
If no user was logged in with
2
Example
<H3>GetAuthUser Example</H3>
<P>Authenticated User: <cfoutput>GetAuthUser()</cfoutput>
Chapter 16, "Securing Applications,"
authentication or web server authentication. It checks for a
cflogin
cfloginuser.
, it checks for a web server login (cgi.remote_user).
cfloginuser
in Developing
GetAuthUser
479

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents