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?