Click or drag to resize

AccessModifierUtilsIdLookupOrgUnitGetManagerOrgUnitIds Method

Returns the ids of the org. units, that the active user has access to, by being a context owner for them.

Namespace:  Omada.OE.Solution.OIM.AppLogic.AccessModifiers
Assembly:  Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static IntegerList GetManagerOrgUnitIds(
	IntegerList dataObjectIds,
	bool includeIndirectlyManaged,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

dataObjectIds
Type: IntegerList
Only org. units present in this list are evaluated. Can be null.
includeIndirectlyManaged
Type: SystemBoolean
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

Type: IntegerList
Returns a SQL query string. Can return null if the active user is not a manager.
See Also