Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This feature is available starting with v1.1.3 of the Power Scripts™ for Confluence.

...

Parameter name

Type

Required

Description

pageIdnumberYesThe ID of the page on which user restrictions will be deleteduser restrictions.

userNameOrKey

stringYesUser name or key of a user which user that has restrictions on the page.

...

Note

Before execution of a routine, you must verify that the user exists:

userExists

. You can use the userExists routine for that.

Example

Removes all user restrictions on the page with the "11508" ID for the user "jdoe".

Code Block
removeAllUserRestrictionsFromContent(11508, "jdoe");

...