Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / December 2006

Tip: Looking for answers? Try searching our database.

Search Active Directory

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
slescure@verizon.net - 07 Dec 2006 22:35 GMT
Anybody have an example (simple is good) of VB code using Visual Studio
that searches Active Directory for the common name of a user? I'm
getting the logon id using the Environment variable,  but i need the
users name.  Should this be easy?!

thanks in advance.....
S.Y.M. Wong-A-Ton - 08 Dec 2006 04:55 GMT
You could try this article:
http://www.codeproject.com/vb/net/LDAP_Using_VBnet.asp
---
S.Y.M. Wong-A-Ton

> Anybody have an example (simple is good) of VB code using Visual Studio
> that searches Active Directory for the common name of a user? I'm
> getting the logon id using the Environment variable,  but i need the
> users name.  Should this be easy?!
>
> thanks in advance.....
Andy Bonner - 18 Dec 2006 21:00 GMT
I've just finished creating a blog entry on how you can accomplish this
using the GetUserInfo method of the UserGroup webservice.  It's in C# but
you should get the idea....

http://blogs.vbcity.com/skullcrusher/archive/2006/12/18/7634.aspx

Regards
Andy

> Anybody have an example (simple is good) of VB code using Visual Studio
> that searches Active Directory for the common name of a user? I'm
> getting the logon id using the Environment variable,  but i need the
> users name.  Should this be easy?!
>
> thanks in advance.....
Joydip Kanjilal - 21 Dec 2006 10:24 GMT
Hi,

You can go through my article at http://www.devx.com/dotnet/Article/33395

Hope this hepls.

-Joydip

> Anybody have an example (simple is good) of VB code using Visual Studio
> that searches Active Directory for the common name of a user? I'm
> getting the logon id using the Environment variable,  but i need the
> users name.  Should this be easy?!
>
> thanks in advance.....
Joydip Kanjilal - 21 Dec 2006 10:25 GMT
Hi,

You can go through my article at http://www.devx.com/dotnet/Article/33395

Hope this helps.

-Joydip

> Anybody have an example (simple is good) of VB code using Visual Studio
> that searches Active Directory for the common name of a user? I'm
> getting the logon id using the Environment variable,  but i need the
> users name.  Should this be easy?!
>
> thanks in advance.....

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.