ReviewR.Web.Models.ReviewRPrincipal.IsInRole C# (CSharp) Method

IsInRole() public method

public IsInRole ( string role ) : bool
role string
return bool
        public bool IsInRole(string role)
        {
            return Identity.Roles.Contains(role);
        }