Vulnerability in EPiServer.Forms
My web application has multiple tenants, expected display should be based on Logged in user.
For example: If logged in user belongs to user group "A" - then expected whole CMS content is "A-display" If the logged in user belongs to user group "B" - then expected whole CMS content is "B-display".
Currently, my application is uses one connection string to one single episerver database.Could you please advise me how do i set the unique CMS content for my every user group.Please advise.
I think there are a couple of options, both based on security groups. You can create group 'A' and group 'B', you can then restrict access to the CMS content based on these groups.
Off the site root, you create two nodes 'SiteA' and 'SiteB', then restrict access to each node by the security groups you created. When a user logs into the site you can then direct them to the correct node.
Alternately you can create separate instances, one for each of your requirements, again you would restrict access based on the security group. These would also have different hostnames and depending on how you host also require additional licensing.
Either way, you should not look at trying to use multiple databases. I am not sure it is even possible, rather you should with the CMS rather than against it.
Hope this helps
Hello Srinivas, Not sure what version you are using. You can use Vistor Groups for this to accomplish - https://world.optimizely.com/documentation/developer-guides/CMS/personalization/developing-custom-visitor-group-criteria/
Note that you can set them according to the roles of current users and use them on content areas/RTEs etc.