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.

cfntauthenticate Attribute Reference

username
Required

User's login name.

password
Required

User's login name.

domain
Required

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

result
Default: cfntauthenticate

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

listgroups
Default: NO

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

throwonerror
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