You actually shouldn't have to use Interop or
PInvoke like that to authenticate to AD using VB.Net. I do it all the time
in WinForms using the DirectoryEntry class, which allows you to pass creds
to your AD connection. You just need to front those creds with a simple form and
away you go. Just check out the VS docs on DirectoryEntry. Also, if you plan to
do a lot of .Net programming against AD, I would highly suggest this book: http://www.amazon.com/Developers-Directory-Programming-Microsoft-Development/dp/0321350170/sr=8-1/qid=1159285094/ref=pd_bbs_1/102-7103604-3390566?ie=UTF8&s=books
Darren From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Wood Sent: Tuesday, September 26, 2006 7:40 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Struggling to find AD authentication code Thank From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian De Look
at the example for calling the LogonU Thank Brian
De [EMAIL PROTECTED] c
- 312.731.3132 From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Wood Hi, Can anyone point me in the direction
of Any help very much
appreciated. Regard Steven This email is from Oldham Sixth Form College, but expresses the views of the sender and not necessarily the views of the college. The email and any files transmitted with it are confidential to the intended recipient at the e-mail address to which it has been addressed. It may not be disclosed or used by any other than that addressee, nor may it be copied in any way. If received in error, please notify [EMAIL PROTECTED] quoting the name of the sender. This message has been scanned for viruses by F-Secure Anti-Virus. Please note that we cannot accept any responsibility for any transmitted viruses. It is, therefore, your responsibility to scan attachments (if any). |
- [ActiveDir] Struggling to find AD authentication code Steven Wood
- RE: [ActiveDir] Struggling to find AD authentication ... Brian Desmond
- RE: [ActiveDir] Struggling to find AD authenticat... Steven Wood
- RE: [ActiveDir] Struggling to find AD authent... Darren Mar-Elia
- Re: [ActiveDir] Struggling to find AD aut... Joe Kaplan