Authorizer.isPermittedAll

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

<p>This is an overloaded method for the corresponding type-safe {@link Permission Permission} variant. Please see the class-level JavaDoc for more information on these string-based permission methods.

@param subjectPrincipal the application-specific subject/user identifier. @param permissions the string representations of the Permissions that are being checked. @return true if the user has all of the specified permissions, false otherwise. @see #isPermittedAll(PrincipalCollection,Collection)

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

Meta