Re: Extending ActiveDirectoryMembershipProvider
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 19 Mar 2008 13:02:52 -0500
The AD membership provider doesn't include a role provider at all, so
essentially you just need to write your own role provider. You would
presumably do LDAP queries to look up your custom schema.
My coauthor, Ryan Dunn, created an AD role provider sample on CodePlex that
just turns normal AD security group membership into roles. You might be
able to use that as a starting point.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Vaishali Patel" <VaishaliPatel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F69C587D-EB8D-4034-8374-D014C08FB25A@xxxxxxxxxxxxxxxx
Hi,
I have a custom schema in my Active Directory which has Groups Like
RoleGroup, CompanyGroup. There is a custom WebUsers schema as well. Each
WebUser is associated with Mutliple RoleGroups and CompanyGroups.
1. How can I extend / customize ActiveDirectoryMembershipProvider to get
the
list of groups (both RoleGroup and CompanyGroup) and add new values to
this
group ?
2. How can I extend / customize ActiveDirectoryMembershipProvider to
create
Web Users that are associated to these custom groups?
Please advice.
Regards,
Vaishali Patel.
.
- Prev by Date: Re: Forms Authentication Problem?
- Next by Date: Re: Is possible Three attempt in Directory Entry Class
- Previous by thread: Re: Forms Authentication Problem?
- Next by thread: Re: Is possible Three attempt in Directory Entry Class
- Index(es):
Relevant Pages
|