Click or drag to resize

CalculatedRolesAccessModifier Class

The access modifier controls access to resource data objects. It is only to be used in views as it has no access calculation logic (only load-option modification!). A resource is accessible for a user if the Role Engine has calculated a resource assignment for the resource to the active user's identity.
ParameterDescription
RequireAllowDelegation[true/false] If true only resources which belong to a resource type, that has ALLOWDELEGATION set to true, are loaded.
ContextDescription
DELEGATOR[int] If the delegator identity is provided in the context the Access Modifier will only show roles for this identity
Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogic.AccessModifiersAccessModifierBase
    Omada.OE.AppLogic.AccessModifiersCommonAccessModifierBase
      Omada.OE.AppLogic.AccessModifiersViewAccessModifierBase
        Omada.OE.Solution.OIM.AppLogic.AccessModifiersCalculatedRolesAccessModifier

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 CalculatedRolesAccessModifier : ViewAccessModifierBase

The CalculatedRolesAccessModifier type exposes the following members.

Constructors
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
Public methodModifyLoadOptions
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
Fields
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