Click or drag to resize

IdentityControllerGetOrgUnitId Method

Returns the id of the org. unit which the identity belongs to.

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 int GetOrgUnitId(
	int identityId,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

identityId
Type: SystemInt32
Must be greater than zero.
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

Type: Int32
Returns the id of the org. unit which the identity belongs to. Returns 0 if the identity has no org. unit.
See Also