API docs     >     Users and Permissions     >     Privileges

Privileges->getByUsergroup

Description

getByUsergroup ( $usergroupId, $extcode = NULL )
Gets all Privileges for a specific Usergroup

Parameters

$usergroupId
int
$extcode
string
Extension code (optional)

Returns

array
Array of Permissions
  1. array(
  2.     ['USERGROUPID'] => 14
  3.     ['RENTRYMASKS'] => 0
  4.     ['RUSERS'] => 0
  5.     ['RLANGUAGES'] => 1
  6.     ['RENTRYMASKS'] => 0
  7.     ['REXTENSIONS_PAGE'] => 0
  8.     ['REXPORT'] => 1
  9.     ['RIMPORT'] => 0
  10.     ['RTEMPLATES'] => 0
  11.     ['RPROPERTIES'] => 1
  12.     ['RFILETYPES'] => 0
  13.     ['RVIEWS'] => 1
  14. )