user__elevate
Parameters:
p1: partition username
p2: username
Return Type:
Boolean (true or false)
Description:
Elevates a user to manager role. Returns true if successful, or false if system does not support user roles, user does not exist, or user is already elevated to manager.
Example (using Code Kit):// assumes partition username "admin" exists and user "bobsmith" exists
$data = APICommand( "user__elevate", "anthony", "bobsmith", );$xml = simplexml_load_string( $data );
echo $xml->result;