Re: Getting GROUPS from Active Directory by inputing an AD username
- From: Dominick Baier <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 22 Feb 2007 08:29:58 +0000 (UTC)
Just use plain WindowsAuthentication - you can get all groups from the WindowsIdentity that hangs off Context.User...
http://www.leastprivilege.com/GettingAllGroupsForAWindowsAccountInNET20.aspx
-----
Dominick Baier (http://www.leastprivilege.com)
Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)
I used the WindowsTokenRoleProvider and i was able to input my
username and
i retrieved all the GROUPS i belong to on my PC.
I'm thinking of doing the same but against Active Directory.
How can i do the same against AD?
Will i have to use "AuthorizationStoreRoleProvider" and install Azman?
Or
iare they any other ways?
I have used ActiveDirectoryMembershipProvider before with my treeview
for
securitytimming can i use that?
Thanks in Advance
.
- Follow-Ups:
- Re: Getting GROUPS from Active Directory by inputing an AD username
- From: Patrick.O.Ige
- Re: Getting GROUPS from Active Directory by inputing an AD username
- References:
- Getting GROUPS from Active Directory by inputing an AD username
- From: Patrick.O.Ige
- Getting GROUPS from Active Directory by inputing an AD username
- Prev by Date: Re: Question about cookie protection and FormsAuthentication.Encrypt
- Next by Date: Re: Custom Profile Provider
- Previous by thread: Getting GROUPS from Active Directory by inputing an AD username
- Next by thread: Re: Getting GROUPS from Active Directory by inputing an AD username
- Index(es):