How do I check that a User is in a Security Group

  • Thread starter Thread starter nate axtell
  • Start date Start date
N

nate axtell

I found the DirectoryServices in the System namespace which I believe is
what I need to see if the logged in user to my VB .NET application is in a
specific group in active directory. I'm not sure how to specificy or find
the entry path, either LDAP://... or WinNT://... I have the user selecting
the server machine and then database that they want to connect to. The
server can be on a different domain and also is not neccessarily a domain
controller. Is there a way to find the LDAP path? And if there are a ton
of users and groups to search through in the Act.Dir. tree should I use
WinNT instead?
 
Hi,

http://msdn.microsoft.com/library/d...incipalwindowsprincipalclassisinroletopic.asp

Ken
-----------------
"nate axtell" <naxtell at progeny dot net> wrote in message
I found the DirectoryServices in the System namespace which I believe is
what I need to see if the logged in user to my VB .NET application is in a
specific group in active directory. I'm not sure how to specificy or find
the entry path, either LDAP://... or WinNT://... I have the user selecting
the server machine and then database that they want to connect to. The
server can be on a different domain and also is not neccessarily a domain
controller. Is there a way to find the LDAP path? And if there are a ton
of users and groups to search through in the Act.Dir. tree should I use
WinNT instead?
 
Back
Top