Candor.Security.UserPrincipal.GetReadOnlyRoleNames C# (CSharp) Method

GetReadOnlyRoleNames() public method

Gets a list of the role names this user is within.
public GetReadOnlyRoleNames ( ) : List
return List
        public List<string> GetReadOnlyRoleNames()
        {
            EnsureRolesLoadedIfAuthenticated();
            var roles = new List<string>();
            if (_roles != null)
                roles.AddRange(_roles);
            return roles;
        }