Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

Hide content sections for users with multiple user roles?

$
0
0
We have some pages set up on our client's intranet that have 2 Text web parts - one is shown to users with the International user role, and some is shown to those with the US user role since the copy needs to vary slightly between the 2. But it's not sufficient enough to have separate pages.However, because of this setup, those with both International and US user roles (i.e. the company's executive team users) are seeing both web parts. Is there a way we can write some conditional logic to hide one of the web parts if the user has both roles?

Viewing all articles
Browse latest Browse all 8832

Trending Articles