ServiceStack.AuthUserSession.HasRole C# (CSharp) Method

HasRole() public method

public HasRole ( string role ) : bool
role string
return bool
        public virtual bool HasRole(string role)
        {
            return this.Roles != null && this.Roles.Contains(role);
        }