Click or drag to resize

MyContextsAccessModifier Class

The access modifier controls access to "context" data objects. Context data objects are not data objects of a specific data object type; Which data objects are contexts depends on the defined ContextType data objects. The access modifier is only to be used in views as it has no access calculation logic (only load-option modification!).

An context data object it is accessible for a user if: - he is in the context - if INCLUDEOWNED=true: he is the owner of the context and the context is valid. - if INCLUDEALL=true: any context is allowed (security is overridden)

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

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 class MyContextsAccessModifier : ViewAccessModifierBase

The MyContextsAccessModifier type exposes the following members.

Constructors
  NameDescription
Public methodMyContextsAccessModifier
Top
Properties
  NameDescription
Protected propertyDbConnection
Note: not available in the Initialize() method.
(Inherited from CommonAccessModifierBase.)
Protected propertyDbTransaction
Note: not available in the Initialize() method.
(Inherited from CommonAccessModifierBase.)
Protected propertyFactory
The factory can be used to create controller instances running on the connection/transaction that the call is executed in. Note: not available in the Initialize() method.
(Inherited from CommonAccessModifierBase.)
Protected propertyParameters
The parameters specified for the access modifier in the Initialize() method. Tip: retrieve a parameter value by using the GetParameterValue() method.
(Inherited from CommonAccessModifierBase.)
Top
Methods
  NameDescription
Public methodCalculateAccess (Inherited from ViewAccessModifierBase.)
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.)
Protected methodQueryDataObjectIds
Queries the database and returns the ids of the data obejcts that meet a set of expressions. The security model is overridden.
(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