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.....