| OrgUnitGetManagerIds Method |
Returns the ids of the manager users and groups for an org. unit.
If the org. unit doesn't have a (directly assigned) manager,
the methods crawls upwards through the org. unit structure
until it finds one.
Namespace:
Omada.OE.Solution.OIM.Model
Assembly:
Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntaxpublic static IntegerList GetManagerIds(
int orgUnitId,
DataObjects orgUnits,
DataObjects orgUnitTypes
)
Parameters
- orgUnitId
- Type: SystemInt32
Id of the org. unit.
- orgUnits
- Type: Omada.OE.ModelDataObjects
Must contain the org. unit and all org. units above it
- orgUnitTypes
- Type: Omada.OE.ModelDataObjects
Must contain all org. unit types in the system.
Return Value
Type:
IntegerList
Can return an empty collection if no manager is found.
See Also