I have implemented the Active Directory Provider for CMS. Is it possible to choose which groups/users to show in EPiServer Admin ? Now it shows all users, but I want to show users from just 2 or 3 groups.
Which ActiveDirectory-provider is it that you are using?
If its the standard provider that comes with Asp.Net (System.Web.Security.ActiveDirectoryMembershipProvider), then Im afraid the answer is no, you can only specify the rootcontainer the provider should start searching from.
And if it is the EPiServer CMS Active Directory Provider ?
What you want to do is pretty easy imo by implement your own provider. Just override the appropriate methods on an existing provider. Check MSDN for more detailed information on the provider model.
Lars, if you mean the EPiserver CMS ActiveDirectory _Role_ Provider (which is shipped with sourcecode), then its certainly possible to modify the sources to for example only include containers that are specified through configuration.
Note though that this provider only deals with groups (roles) and not users, in which case you would have to write your own membershipprovider.
Thanks alot !
I'm using the CMS Active Directory Provider