Creator Virtual Role

Vote:
 

I'm testing virtual roles in EPiServer 10.5.

CreatorRole has SupportClaims = false in its constructor, which means that IsInVirtualRole method will never be executed. Shouldn't SupportClaims be set to true?

I created my own version of CreatorRole for debugging purposes and noticed that when I call PrincipalInfo.CurrentPrincipal.IsInRole(MyCreatorRole.RoleName), context parameter in IsInVirtualRole method is always null. Is there a bug report on this one?

Thanks

#176743
Mar 24, 2017 11:26
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.