Re: Extending ActiveDirectoryMembershipProvider



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.


.



Relevant Pages

  • Custom Role Provider in Moss 2007
    ... I have a different scenario with me, where i need to implement custom ... role provider in moss 2007. ... Here i need all users still to be fetch ... implement custom role provider. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: How to Remote a custom membership or profile provider ???
    ... If you don't want your provider to have a connectionStringName property, don't add it to your provider and write the code to support it. ... For example, there is a Membership provider, Role provider, and Profile provider. ... If you are trying to use all of those features, you will have to create a custom provider implementation for each. ... If you want to use the Login controls, you will definitely have to create a custom Membership provider that uses remoting to get its data, as opposed to the default SqlMembershipProvider which uses a connection string. ...
    (microsoft.public.dotnet.framework.aspnet)

Quantcast