Click or drag to resize

OrgUnitGetUserGroupsReferredByOrgunit Method

Returns the ids of the users and groups reffered by the reference property from an org. unit. If the org. unit doesn't have a (directly assigned) users or groups , 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
Syntax
C#
public static IntegerList GetUserGroupsReferredByOrgunit(
	int orgUnitId,
	DataObjects orgUnits,
	DataObjects orgUnitTypes,
	int refPropertyId
)

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.
refPropertyId
Type: SystemInt32
refence proeprty id that refers to a user or user group on the orgunit

Return Value

Type: IntegerList
Can return an empty collection if no manager is found.
See Also