HELP ! How to check user against group ????

  • Thread starter Thread starter Jeroen
  • Start date Start date
J

Jeroen

I am developing an asp.net website with windows
authentification and I want to check to which group the
user belongs. I know how to check for the user that has
logged in and to see if he belongs to a group that was
predefined by windows but I need to know all the groups
he belongs to (also the ones that I created myself).

Please help me with this, I'm going crazy !

Thanks,

Jeroen
 
Jeroen said:
I am developing an asp.net website with windows
authentification and I want to check to which group the
user belongs. I know how to check for the user that has
logged in and to see if he belongs to a group that was
predefined by windows but I need to know all the groups
he belongs to (also the ones that I created myself).

You'll want to use the DirectoryServices namespace in the framework. Giving
you a complete understanding of the Active Directory and LDAP knowledge
you'd need to do this is beyond the scope of what I can offer in a Usenet
response, but I can direct you to the help section of the Framework
documentation that explains it - use this URL:

ms-help://MS.NETFrameworkSDK/cpref/html/frlrfSystemDirectoryServices.htm
 
* "Richard K Bethell said:
You'll want to use the DirectoryServices namespace in the framework. Giving
you a complete understanding of the Active Directory and LDAP knowledge
you'd need to do this is beyond the scope of what I can offer in a Usenet
response, but I can direct you to the help section of the Framework
documentation that explains it - use this URL:

ms-help://MS.NETFrameworkSDK/cpref/html/frlrfSystemDirectoryServices.htm

Online version:

<http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdirectoryservices.asp>
 
Back
Top