| ContextControllerIsContextOwner Method |
Returns whether a user is amongst the (non-delegated) owners of a context.
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 bool IsContextOwner(
int contextId,
int userId,
bool crawl = false,
ContextControllerCrawlMode crawlMode = ContextControllerCrawlMode.CrawlIfEmpty
)
Parameters
- contextId
- Type: SystemInt32
- userId
- Type: SystemInt32
- crawl (Optional)
- Type: SystemBoolean
If "crawl" is true the method also check if the user is owner of an ancestor context.
Crawling can only take place if the context is of a context type that has a "parent" property.
- crawlMode (Optional)
- Type: Omada.OE.Solution.OIM.AppLogicContextControllerCrawlMode
Return Value
Type:
Boolean
See Also