Click or drag to resize

ContextControllerGetIdentityContextIds Method (Int32, Int32)

Returns the ids of the "business context" data objects that an identity is direct member of. Only direct memberships are returned - not memberships of ancestor contexts. A context membership is either due to a ContextAssignment data object or due to a context being stated in the "membership" reference property on the identity data object. Memberships of contexts with status "Deleted (accepted)" are excluded from the result. Memberships that are either not yet active or expired are also excluded from the result.

Namespace:  Omada.OE.Solution.OIM.AppLogic
Assembly:  Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public IntegerList GetIdentityContextIds(
	int identityId,
	int contextTypeId = 0
)

Parameters

identityId
Type: SystemInt32
contextTypeId (Optional)
Type: SystemInt32
Id of a context type data object. If contextTypeId is specified then the method will only returns ids of contexts that belongs to the specified type.

Return Value

Type: IntegerList
See Also