| IdentityControllerGetPreviousOrgUnitId Method |
The method returns the id of the org. unit than an identity was previously working in.
If the identity has never been working in other org. units (than the current one) then 0 (zero) is returned.
If the identity has been working in more than one other org. units, then the id of the most recent one is returned.
Namespace:
Omada.OE.Solution.OIM.AppLogic
Assembly:
Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic static int GetPreviousOrgUnitId(
int identityId,
out int currOrgUnitId,
SqlConnection dbConnection,
SqlTransaction dbTransaction
)
Parameters
- identityId
- Type: SystemInt32
If of the identity for which the previous org. unit should be returned.
- currOrgUnitId
- Type: SystemInt32
In here the id of the org. unit, that the identity is currently working in, is returned.
- dbConnection
- Type: System.Data.SqlClientSqlConnection
- dbTransaction
- Type: System.Data.SqlClientSqlTransaction
Return Value
Type:
Int32
See Also