Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Show web part if not in role View modes: 
User avatar
Member
Member
leem - 9/28/2009 11:30:26 AM
   
Show web part if not in role
Hi,

can you show a web part if a user is in a role but not in another role?

Lee

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 9/28/2009 2:24:27 PM
   
RE:Show web part if not in role
Hi,

Each web part has “Display to roles” property which you can use in such cases. If you mean something specific, you can simply modify each web part according your needs, check current user roles in code behind of this web part and display/hide web part according this information.

Best Regards,
Miroslav Remias.