user__disenroll
Parameters:
p1: partition username
p2: username
p3: course name to enroll user into
Return Type:
Boolean (true or false)
Description:
Dis-enrolls an existing user from specified account out of the specified course. Returns true if user was dis-enrolled (or was not enrolled in the first place).
Example (using Code Kit):// assumes partition username "anthony" exists
// try to disenroll username Bob out of course named Sample Course
$data = APICommand( "user__disenroll", "anthony", "Bob", "Sample Course" );
$xml = simplexml_load_string( $data );
echo $xml->result;