AuthenticationUsingFilters.Model.User.IsInRole C# (CSharp) Method

IsInRole() public method

public IsInRole ( string role ) : bool
role string
return bool
		public bool IsInRole(string role)
		{
			return Array.IndexOf(roles, role) >= 0;
		}