Fetches the permissions for a given user on a given page, but unlike GetPagePermissions it requires the user to provide the permissions a user would inherit from the page's parent. This function is used in building menu structures to avoid excessive recursive calls
function GetPagePermissionsSimple($PageID, $UserID, $Inherited)
If given a valid page and user the function returns the user's permissions on that page assuming that the inherited permissions are represented accurately. For information on the format of this variable, see Permission Constants.