Gets the list of roles that the principal belongs to.

Namespace:  EPiServer.Security
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public ICollection<string> RoleList { get; }

Field Value

The role list.

Remarks

If the method fails to retrieve the list of roles, it will return null.

See Also