reset: (name: unknown) => PolicyResult | Promise<PolicyResult> = ...
Type Declaration
-
- (name: unknown): PolicyResult | Promise<PolicyResult>
-
Returns PolicyResult | Promise<PolicyResult>
ok, whether an entry was removed, and the profile now in
force — or a promise of it, for a named profile
Deletes this realm's
defaultprofile, after which it follows the default realm's, or the built-in default; or deletes a NAMED profile (#1241), which is refused while a person or a group names it (STS-LDAP-0197).The people naming a profile are the holders of
stsAttributePolicy, asked asynchronously (rcbj's rule: no synchronous walk on a request), so the delete of a named profile answers a PROMISE;default's answers at once.