Click or drag to resize

ContextMembership Class

Represents a membership that an identity has for a business context. A membership is either due to a ContextAssignment data object or due to the identity being in the context's membership property.
Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogicContextMembership

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public class ContextMembership

The ContextMembership type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyContextCreatedById
Public propertyContextCreateTime
Public propertyContextDeleted
Is the context deleted? Is true if the CONTEXTSTATUS property has value "Deleted (accepted)".
Public propertyContextDispName
Display name of the context.
Public propertyContextId
Id of the context (orgunit, costcenter etc.) that the membership is for.
Public propertyContextObjectTypeId
Id of the context data object's data object type.
Public propertyContextObjectTypeName
System name of the context data object's data object type.
Public propertyContextTypeUId
UId of the context data object's data object type.
Public propertyContextUId
UId of the context (orgunit, costcenter etc.) that the membership is for.
Public propertyIdentityId
Id of the identity that has the membership.
Public propertyPrimaryMembership
Is the membership a primary context membership for the identity? An identity can have multiple primary memberships but he *must* have at least one primary membership or he will not be allowed (by RoPE) to have any access rights at all.
Public propertyValidFrom
The maximim of the ValidFrom (if any) of the ContextAssignment data object (if any) and the ValidFrom (if any) of the context data object. If membership is due to the identity being in the "membership" property of the context then ValidFrom is always MinValue.
Public propertyValidTo
The minimum of the ValidTo (if any) of the ContextAssignment data object (if any) and the ValidTo (if any) of the context data object. If membership is due to the identity being in the "membership" property of the context then ValidFrom is always MaxValue.
Top
Methods
  NameDescription
Public methodToString
For debugging purposes.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also