removeAllUserRestrictionsFromContent
Syntax | removeAllUserRestrictionsFromContent(pageId, userNameOrKey) | Package | |
Alias | Pkg Usage |
Description
Removes all user restrictions on the page for the user
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
pageId | Number | Yes | The ID of the page on which user restrictions will be deleted. |
userNameOrKey | String | Yes | User name or key of a user that has restrictions on the page. |
Return Type
Boolean (true/false)
Example
removeAllUserRestrictionsFromContent(11508, "jdoe");