| ContextControllerIsIdentityInContext Method |
Returns whether an identity is directly in a specific context.
Returns false if the context has status "Deleted (accepted)".
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 IsIdentityInContext(
int identityId,
int contextId,
bool includeNonValidMemberships = false,
Func<ContextMembership, bool> selector = null
)
Parameters
- identityId
- Type: SystemInt32
- contextId
- Type: SystemInt32
- includeNonValidMemberships (Optional)
- Type: SystemBoolean
If false then memberships that are either not yet active or expired are excluded from the result - selector (Optional)
- Type: SystemFuncContextMembership, Boolean
allows to select context memberships using delegate
Return Value
Type:
Boolean
See Also