Click or drag to resize

OrgUnitControllerGetManagerIds Method

Returns the ids of the manager(s) for an org. unit. Managers are either users or (non-personal) groups (or a combination). If the org. unit doesn't have a (directly assigned) manager, the methods crawls upwards through the org. unit structure until it finds one. If the method finds a manager which is a personal user group it converts it to a user.

Namespace:  Omada.OE.Solution.OIM.AppLogic
Assembly:  Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static IntegerList GetManagerIds(
	int orgUnitId,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

orgUnitId
Type: SystemInt32
Id of the org. unit.
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

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