469,612 Members | 2,232 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,612 developers. It's quick & easy.

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

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

Nov 20 '05 #1
2 1507
"Jeroen" <j.****@aquadis.nl> wrote in message
news:3b****************************@phx.gbl...
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
Nov 20 '05 #2
* "Richard K Bethell" <so*****@spammingisevil.bad> scripsit:
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


Online version:

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

--
Herfried K. Wagner
MVP VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by OBJECT MODULE, INC. | last post: by
8 posts views Thread by Johnny | last post: by
9 posts views Thread by Sameh Ahmed | last post: by
1 post views Thread by Rahul | last post: by
19 posts views Thread by Taras_96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.