AjaxItemSelect.Controllers.UserAccount.HasRoleClaim C# (CSharp) 메소드

HasRoleClaim() 공개 메소드

public HasRoleClaim ( string value ) : bool
value string
리턴 bool
        public bool HasRoleClaim(string value)
        {
            if (!IsAuthenticated) { return false; }
            return Principal.HasClaim(ClaimTypes.Role, value) ? true : false;
        }