Returns the role information cached with the System.Web.Security.RolePrincipal object encrypted based on the Roles.CookieProtectionValue.
![]()
The role information cached with the System.Web.Security.RolePrincipal object encrypted based on the Roles.CookieProtectionValue.
The value returned by the RolePrincipal.ToEncryptedTicket method is stored in the roles cookie when Roles.CacheRolesInCookie is true.