removeNamedPolicy method

bool removeNamedPolicy(
  1. String ptype,
  2. List<String> params
)

removeNamedPolicy removes an authorization rule from the current named policy.

ptype the policy type, can be "p", "p2", "p3", .. params the "p" policy rule. return succeeds or not.

Implementation

bool removeNamedPolicy(String ptype, List<String> params) {
  return removePolicyInternal('p', ptype, params);
}