Authorizer.isPermittedAll

Returns <tt>true</tt> if the corresponding Subject/user implies all of the specified permissions, <tt>false</tt> otherwise.

<p>More specifically, this method determines if all of the given <tt>Permission</tt>s are {@link Permission#implies(Permission) implied by} permissions already associated with the subject.

@param subjectPrincipal the application-specific subject/user identifier. @param permissions the permissions to check. @return true if the user has all of the specified permissions, false otherwise.

  1. bool isPermittedAll(PrincipalCollection subjectPrincipal, string[] permissions)
  2. bool isPermittedAll(PrincipalCollection subjectPrincipal, Collection!(Permission) permissions)
    interface Authorizer

Meta