GetGroupPermissions

Fetches the permission settings for a given group on a given page.

Prototype

function GetGroupPermissions($PageID, $GroupID)

Parameters

  • $PageID - a page in the CMS database
  • $GroupID - a group in the CMS database

Return Value

If given a valid page and group the function returns the permissions granted to a group's members for that page.  For an invalid page or group the function returns 0.