cfntauthenticate

Authenticates a user name and password against the
NT domain on which ColdFusion server is running,
and optionally retrieves the user's groups.

 <cfntauthenticate username="" password="" domain="">

 cfntauthenticate(username="", password="", domain="");

This tag requires Adobe ColdFusion. Not supported on Lucee, OpenBD, etc.

Attribute Reference for the cfntauthenticate tag

username

Required: Yes
User's login name.

password

Required: Yes
User's login name.

domain

Required: Yes
Domain against which to authenticate the user. The
ColdFusion J2EE server must be running on this domain.

result

Required: No
Default: cfntauthenticate
Name of the variable in which to return the results.
Default: cfntauthenticate

listgroups

Required: No
Default: NO
Boolean value specifying whether to Include a
comma-delimited list of the user's groups in the
result structure.
Default: false

throwonerror

Required: No
Default: NO
Boolean value specifying whether to throw an
exception if the validation fails. If this attribute is true,
ColdFusion throws an error if the user name or password is
invalid; the application must handle such errors in a
try/catch block or ColdFusion error handler page.
Default: false


Fork me on GitHub