| IdentityControllerGetManagerIds Method (Int32, Boolean, SqlConnection, SqlTransaction) |
Returns the "managers" of an identity.
The managers are the owners of the identity's primary context (or the owner of an ancestor context if the primary context itself has no owners).
If one or more supervisors are stated (according to the identity's primary context type) on the identity then these are returned as priority one.
Managers are either users or (non-personal) groups (or a combination).
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 IntegerList GetManagerIds(
int identityId,
bool crawlWhenUserExcluded,
SqlConnection dbConnection,
SqlTransaction dbTransaction
)
Parameters
- identityId
- Type: SystemInt32
Id of the identity.
- crawlWhenUserExcluded
- Type: SystemBoolean
When we exclude a user because he is manager for himself and other managers are configured on the same
level, we either continue our crawl (when set to true) or we return these other managers (when set to false)
- dbConnection
- Type: System.Data.SqlClientSqlConnection
- dbTransaction
- Type: System.Data.SqlClientSqlTransaction
Return Value
Type:
IntegerList
Returns a collection of user ids.
Can return an empty collection if no manager(s) are found.
See Also