| ContextControllerGetManagerIds Method (IEnumerableInt32, ContextControllerCrawlMode) |
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.
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 Dictionary<int, IntegerList> GetManagerIds(
IEnumerable<int> identityIds,
ContextControllerCrawlMode crawlMode = ContextControllerCrawlMode.CrawlIfEmpty
)
Parameters
- identityIds
- Type: System.Collections.GenericIEnumerableInt32
- crawlMode (Optional)
- Type: Omada.OE.Solution.OIM.AppLogicContextControllerCrawlMode
The crawlMode is used when resolving the owner(s) of the identity's primary context(s).
If crawlMode is CrawlIfEmptyOrUserFound and the identity has no user then crawlMode will be adjusted to CrawlIfEmpty.
Return Value
Type:
DictionaryInt32,
IntegerList
Returns either users or groups (or a combination).
Returns an empty collection if:
- the identity has no primary context type
- no owner can be found on the identity's primary context(s) or on a ancestor context
See Also