user__getSysVar
Parameters:
p1: partition username
p2: username
p3: system variable name
Return Type:
String
Description:
Returns a string containing the value of the system variable for the specified user (or false if partition username, user username or variable name not found).
Example (using Code Kit):// assumes partition username "anthony" exists
// assumes username "Bill" exists
$data = APICommand( "user__getSysVar","anthony","Bill","axis.course-completions");
$xml = simplexml_load_string( $data );foreach ( $xml->children() as $result ) { echo "{$result}"; }