API docs     >     Users and Permissions     >     Permissions

Permissions->getByUsergroup

Description

getByUsergroup ( $usergroupId, $objectId )
Gets all Permissions for the current Object for a specific Usergroup

Parameters

$usergroupId
int
$objectId
int
Object Id

Returns

array
Array of Permissions
  1. array(
  2.     ['ID'] => 1
  3.     ['OID'] => 1
  4.     ['USERGROUPID'] => 1
  5.     ['RREAD'] => 1
  6.     ['RWRITE'] => 1
  7.     ['RDELETE'] => 1
  8.     ['RSUB'] => 0
  9.     ['RSTAGE'] => 0
  10.     ['RSEND'] => 0
  11. )