![]() |
Hi guys, well i have this big problem. i am working in a company which uses active directory / LDAP. my question now is, i want to make a VB application where it will display the client's e-mail address who is using the application in a textbox. your support is highly needed, thanks in advance guys.
|
Does this help?
:
Public Function UserInfo(LoginName As String) As StringI havn't tested it, but after googling for a bit i came up with it...i think that what you want....if not, just post and give us more info. |
Did it help?
|
I'm in the midst of writing an interface for our old homegrown authentication and account management system to the active directory technology.
I would strongly suggest that you review ADSI (Active Directory Services Interface) in addition to your LDAP approach. I would also advice to bind to the object's GUID and not the canonical name. ADSI will make the process alot easier... give it a try, post back if you have problems. |
Re: User's E-mail address
Actually i tried this code and it work GREAT during my set up. But about 5 weeks later when i came back to it to finish the work, the code won't work.
For some reason it automatically sets the rs.EOF to true. Any suggestions where to start? :icon_question: |
| All times are GMT -5. The time now is 9:13 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC