if you were to turn off anonymous access to the intranet then within theory
IE will be told to logon to the site, it will attempt to send the currently
logged on user details to the site to authenticate.  If both the user is in
the Active Dir and the site is (thus allowing access) then the username of
that user should be available in the CGI.AUTH_USER field.  Then you could
potentially pass this into the CFLDAP tag?


HTH


Mikey

-----Original Message-----
From: cf coder [mailto:[EMAIL PROTECTED]
Sent: Friday, November 28, 2003 09:19
To: CF-Talk
Subject: Re:Can get coldfusion to call the ADSystemInfo com object (ADSI)

I cannot use the cfldap tag to query the active directory because I would
have to pass in the username to get the details for that user. To give you a
background, I'm developing this site for the intranet, the users
windows/computer account details are stored in the Active Directory. When
the user logs in to his machine and enters his user name, AD does the
authroisation. Now when he opens the link to the intranet site I want to get
his details from somewhere and ADSystemInfo component does this for you
(read this microsoft article:
http://www.microsoft.com/technet/treeview/default.asp?url="">
ter/scrguide/sas_srv_gwqy.asp). To use this component in ColdFusion its not
that simple as I thought it would be, people have suggested using a wrapper
class and I don't know how to code it unless somebody shows me the code.
  _____  


[
Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to