43 throw new LogicException(
"User does not exist");
46 throw new LogicException(
"Position does not exist");
49 throw new LogicException(
"OrgUnit does not exist");
53 'user_id' => $user_id,
54 'position_id' => $position_id,
55 'orgu_id' => $orgu_ref_id,
61 $this->
addError(
"No assignment found");
73 return "removeUserFromPositionInOrgUnit";
91 return "Removes a user from a position in a orgunit";
static where($where, $operator=null)
addError(string $message)
Class AddUserIdToPositionInOrgUnit.
getDocumentation()
Get the documentation of this method.
getAdditionalInputParams()
getOutputParams()
Get the output parameters in the same format as the input parameters.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _lookupType(int $id, bool $reference=false)
static _exists(int $id, bool $reference=false, ?string $type=null)
checks if an object exists in object_data
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilOrgUnitUserAssignment.
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...