KidoZen.authentication.KZUser.IsInRole C# (CSharp) Method

IsInRole() public method

public IsInRole ( String role ) : System.Boolean
role String
return System.Boolean
        public Boolean IsInRole(String role)
        {
            return Roles.Any(r => string.Compare(role, r, StringComparison.CurrentCultureIgnoreCase) == 0);
        }