Click or drag to resize

ContextAssignmentsAccessModifier Class

The access modifier controls access to ContextAssignment data objects. The access modifier can only be used in a view that filters on ContextAssignment data objects.

The access modifier grants access to: - All context assignments for contexts (valid or not) that the active user is owner of (unless ExcludeAssignmentsForOwnedContexts is true - see below) Note that if the active user is a system admin then he is considered owner of all contexts in this respect. - All context assignments for the active user's identity (if IncludeActiveUserAssignments is true - see below)

The access modifier supports the parameter IncludeActiveUserAssignments (TRUE/FALSE) which controls whether context assignments for the active user's identity are included. The access modifier also supports the parameter ExcludeAssignmentsForOwnedContexts (TRUE/FALSE) which controls whether assignments for contexts that the active user is owner of are included. Note: setting it to true doesn't mean that we explicitly exclude the assignments - it means that we don't include them.

Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogic.AccessModifiersAccessModifierBase
    Omada.OE.AppLogic.AccessModifiersCommonAccessModifierBase
      Omada.OE.AppLogic.AccessModifiersViewAccessModifierBase
        Omada.OE.Solution.OIM.AppLogic.AccessModifiersContextAssignmentsAccessModifier

Namespace:  Omada.OE.Solution.OIM.AppLogic.AccessModifiers
Assembly:  Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public sealed class ContextAssignmentsAccessModifier : ViewAccessModifierBase

The ContextAssignmentsAccessModifier type exposes the following members.

Constructors
Methods
  NameDescription
Public methodCalculateAccess
Grant update access for context assignments to context owners
(Overrides ViewAccessModifierBaseCalculateAccess(DataObject, AccessFlags, AccessCallContext).)
Public methodGetAccessFlags
Get accessflags according to the readergroups, admingroups, and configuration of authrole elements.
(Inherited from CommonAccessModifierBase.)
Public methodGetParameterValue(IDictionaryString, String, String, Boolean)
Returns the value of a boolean parameter from the parameter values delivered to the Initialize() method. Method is intended to be used as utility in implementations of the Initialize() method.
(Inherited from AccessModifierBase.)
Public methodGetParameterValue(IDictionaryString, String, String, Guid)
Returns the value of a string parameter from the parameter values delivered to the Initialize() method. Method is intended to be used as utility in implementations of the Initialize() method.
(Inherited from AccessModifierBase.)
Public methodGetParameterValue(IDictionaryString, String, String, Int32)
Returns the value of an integer parameter from the parameter values delivered to the Initialize() method. Method is intended to be used as utility in implementations of the Initialize() method.
(Inherited from AccessModifierBase.)
Public methodGetParameterValue(IDictionaryString, String, String, String)
Returns the value of a string parameter from the parameter values delivered to the Initialize() method. Method is intended to be used as utility in implementations of the Initialize() method.
(Inherited from AccessModifierBase.)
Public methodGetUIdsFromParameter(String, String, IDictionaryString, String)
Returns a collection of UIds from the parameters delivered to the Initialize() method. Method is intended to be used as utility in implementations of the Initialize() method.
(Inherited from AccessModifierBase.)
Public methodGetUIdsFromParameter(String, String, IDictionaryString, String, Guid)
Returns a collection of UIds from the parameters delivered to the Initialize() method. Method is intended to be used as utility in implementations of the Initialize() method.
(Inherited from AccessModifierBase.)
Public methodInitialize
(Inherited from CommonAccessModifierBase.)
Public methodModifyLoadOptions (Overrides CommonAccessModifierBaseModifyLoadOptions(DataObjectLoadOptionsBase, AccessCallContext).)
Public methodPrepareAccessCalculation
(Inherited from CommonAccessModifierBase.)
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
Explicit Interface Implementations
See Also