API docs     >     Users and Permissions     >     Permissions

Permissions->copyTo

Description

copyTo ( $oldObjectId, $newObjectId )
Copies Permissions from one Object to another

Parameters

$oldObjectId
int
Object Id to copy from
$newObjectId
int
Object Id to copy to