Beispiel #1
0
 public bool IsAuthorized(ClaimsPrincipal user, string permissionName, string permissions)
 {
     return(UserSecurity.IsAuthorized(GetUser(user), permissionName, permissions));
 }