API docs     >     Users and Permissions     >     Permissions

Permissions->setPermissions

Description

setPermissions ( $permissions, $objectId = NULL )
Sets Permissions for the current Object

Parameters

$permissions
array
Array of Permissions
$objectId
int
(optional) Object Id