Definition at line 24 of file OrgUnitUserService.php.
◆ __construct()
OrgUnit\PublicApi\OrgUnitUserService::__construct |
( |
| ) |
|
◆ getEmailAdressesOfSuperiors()
OrgUnit\PublicApi\OrgUnitUserService::getEmailAdressesOfSuperiors |
( |
array |
$user_ids | ) |
|
- Parameters
-
- Returns
- string[]
Definition at line 52 of file OrgUnitUserService.php.
54 $org_unit_user_repository =
new ilOrgUnitUserRepository();
55 $org_unit_user_repository->withSuperiors();
57 return $org_unit_user_repository->getEmailAdressesOfSuperiors($user_ids);
◆ getUsers()
OrgUnit\PublicApi\OrgUnitUserService::getUsers |
( |
array |
$user_ids, |
|
|
bool |
$with_superios = false , |
|
|
bool |
$with_positions = false |
|
) |
| |
- Parameters
-
- Returns
- ilOrgUnitUser[]
Definition at line 34 of file OrgUnitUserService.php.
36 $org_unit_user_repository =
new ilOrgUnitUserRepository();
39 $org_unit_user_repository->withSuperiors();
41 if ($with_positions) {
42 $org_unit_user_repository->withPositions();
45 return $org_unit_user_repository->getOrgUnitUsers($user_ids);
The documentation for this class was generated from the following file: