Skip to end of banner
Go to start of banner

removeAllGroupRestrictionsFromContent

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Availability

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


Syntax

removeAllGroupRestrictionsFromContent(pageId, groupName)

Description

Removes all group restrictions on the page for the selected group

Parameters

Parameter name

Type

Required

Description

pageIdnumberYesThe ID of the page on which will be deleted group restrictions.

groupName

stringYesThe name of a group which has restrictions on the page.

Return type

boolean (true/false)

Returns true if the content permission have been removed from the page for the group or this page has no restrictions for the group.

Example

Example 1


removeAllGroupRestrictionsFromContent(11508, "confluence-users");

Removes all group restrictions on the page with the 11508 ID for the group "confluence-users"

See also

  • No labels