23 protected function run(array $params)
25 $position_id = $params[self::POSITION_ID];
26 $user_id = $params[self::USR_ID];
27 $orgu_ref_id = $params[self::ORGU_REF_ID];
30 $this->
error(
"user does not exist");
32 $this->
error(
"Position does not exist");
34 $this->
error(
"OrgUnit does not exist");
46 return "addUserToPositionInOrgUnit";
73 return "Adds a user to a position in a orgunit";
Class AddUserIdToPositionInOrgUnit.
getAdditionalInputParams()
static findOrCreateAssignment($user_id, $position_id, $orgu_id)
static _exists($a_id, $a_reference=false, $a_type=null)
checks if an object exists in object_data
getDocumentation()
Get the documentation of this method.string
getOutputParams()
Get the output parameters in the same format as the input parameters.array
static _lookupType($a_id, $a_reference=false)