System.Web.Configuration.AuthorizationRule.CheckRole C# (CSharp) Method

CheckRole() private method

private CheckRole ( IPrincipal user ) : bool
user IPrincipal
return bool
		internal bool CheckRole (IPrincipal user)
		{
			foreach (string r in Roles) {
				if (user.IsInRole (r))
					return true;
			}
			return false;
		}