cfloginuser

Description

Identifies an authenticated user to ColdFusion. Specifies the user ID and roles. Used within a cflogin tag.

Category

Extensibility tags

Syntax

<cfloginuser
  name = "name"
  password = "password-string"
  roles = "roles"> 

See also

cflogin, cflogout

History

New in ColdFusion MX: This tag is new.

Attributes

Attribute Req/Opt Default Description
name
Required
 
A username.
password
Required
 
A user password.
roles
Required
 
A comma-delimited list of role identifiers.
ColdFusion processes spaces in a list element as part of the element.

Usage

If Basic HTTP Authentication is in use, ColdFusion checks the standard security data in the request header. The Cflogin scope within this tag contains the user name and password in the cflogin.name and cflogin.password variables.

Example

See cflogin.

Comments