Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

How can i see mapped roles in virtual roles

$
0
0

Hi

I have several Virtual roles, one of them:

<add name="CmsEditors" type="EPiServer.Security.MappedRole, EPiServer.Framework" roles="WebEditors" mode="Any" />

is there a way from code to see if the role "WebEditors" is included in CmsEditors? 

i found some documentation

https://world.episerver.com/documentation/Items/Developers-Guide/Episerver-CMS/9/Security/Virtual-roles/

it does however not answer my question and is also outdated. the new way is to use IVirtualRoleRepository 

thanks in advance :)


Viewing all articles
Browse latest Browse all 9076

Trending Articles