Info | ||
---|---|---|
| ||
This feature is available starting with v1.1.3 of the Power Scripts™ for Confluence. |
...
Parameter name | Type | Required | Description |
---|---|---|---|
pageId | number | Yes | The ID of the page on which user restrictions will be deleteduser restrictions. |
| string | Yes | User 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: user Exists . 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"); |
...