Identifies
an authenticated user to ColdFusion. Specifies the user ID and roles. Used
within a cflogin tag.
Security tags
<cfloginuser
name = "name"
password = "password"
roles = "roles">
cflogin, cflogout, GetAuthUser, GetUserRoles, IsUserInAnyRole, IsUserInRole, IsUserLoggedIn, Securing Applications
in the Developing ColdFusion Applications
ColdFusion
MX 6.1: Changed behavior: if the Session scope is enabled, and the cfapplication tag loginStorage attribute
is set to Session, the login remains in effect until the session
expires or the user is logged out by the cflogout tag.
ColdFusion MX: Added this tag.
Attribute |
Req/Opt |
Default |
Description |
|---|---|---|---|
|
Required |
A user name. |
|
|
Required |
A user password. |
|
|
Required |
A comma-delimited list of role identifiers. ColdFusion processes spaces in a list element as part of the element. |
Used inside
the cflogin tag to identify the authenticated user
to ColdFusion. After you call this function, the GetAuthUser and IsUserInRole return
the user name and role information.
cfapplication tag or the
Application.cfc This.loginStorage variable can specify that login
information is stored in the Session scope.See cflogin.