Has anyone gotten Zak's NTAccess.User COM Object (referenced in Ben Forta's
Advanced CF App Development book - Chapter 12) to make the UserLogon
function to work with CF?  It works great using ASP.

This code:

<CFOBJECT ACTION="Create"
    TYPE="COM"
    CLASS="NTAccess.User"
    NAME="NTUserobj"> 

<cfset NTUserobj.Server="\\SERVER">
<cfset NTUserobj.User ="username">      
<cfset loggedin = NTUserobj.UserLogon("domainname","wrongpw","true")> 

throws this error:

"An attempt was made to reference a token that does not exist"

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to