0
votes

I have to build two websites running on a single sitecore instance. Both the sites using same AD domain(mydomain) but 2 different user groups(users1, users2). Here it is "((memberOf=cn=users1,OU=Groups,OU=mydomain Accounts,dc=mydomain,dc=org)(memberOf=cn=users2,OU=Groups,OU=mydomain Accounts,dc=mydomain,dc=org))".

Users1 has access to both Site1 and Site2. But users2 has access to site2 only. How to configure membership provider in this case? Creating two different provider with same domain threw me an error saying "Duplicate domain entry". can someone help me with this?

Thanks Dev

1

1 Answers

0
votes

You only need one provider to import all the users and one provider to import all groups into Sitecore from your Active Directory domain. Once they are being pulled in via the appropriatly configured membership and role providers you can then use Sitecore's security model to lock down which group has access to which site.

You can set and monitor users access rights via the Security Editor and Access Viewer.

See the Sitecore documentation for further details on how to do this Assign access rights to a security account