Click or drag to resize

ActivityAccessModifier Class

The access modifier gives read access to activity instance data objects which the active user has either created or has a work item for. The access modifier doesn't affect access to activity template data objects.

--- ADMINGROUPS is deprecated! Use the ActivityAccessModifier authorization element to control permissions --- The access modifier supports the parameter ADMINGROUPS which can be used to specify a number of user groups who's members should have READ+UPDATE access to all activity instances. The value of ADMINGROUPS must be a comma delimited string with user group uids. If ADMINGROUPS is not specified then the value defaults to the built-in Administrators group. If ADMINGROUPS is specified then the built-in Administrators group must be included in order to have READ+UPDATE access. --- ADMINGROUPSKEY is deprecated! Use the ActivityAccessModifier authorization element to toggle Admin permissions --- The access modifier also supports the parameter ADMINGROUPSKEY which works in the same way except that the value must be the key of a customer setting which holds a comma delimited string with user group uids.

--- READERGROUPS is deprecated! Use the ActivityAccessModifier authorization element to control permissions --- The access modifier supports the parameter READERGROUPS which can be used to specify a number of user groups who's members should have READ access to all activity instances. The value of READERGROUPS must be a comma delimited string with user group uids. --- READERGROUPSKEY is deprecated! Use the ActivityAccessModifier authorization element to toggle Read permissions --- The access modifier also supports the parameter READERGROUPSKEY which works in the same way except that the value must be the key of a customer setting which holds a comma delimited string with user group uids.

Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogic.AccessModifiersAccessModifierBase
    Omada.OE.AppLogic.AccessModifiersCommonAccessModifierBase
      Omada.OE.AppLogic.AccessModifiersActivityAccessModifier

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

The ActivityAccessModifier type exposes the following members.

Constructors
  NameDescription
Public methodActivityAccessModifier
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 (Overrides CommonAccessModifierBaseCalculateAccess(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 (Overrides CommonAccessModifierBaseInitialize(IDictionaryString, String).)
Public methodModifyLoadOptions (Overrides CommonAccessModifierBaseModifyLoadOptions(DataObjectLoadOptionsBase, AccessCallContext).)
Public methodPrepareAccessCalculation (Overrides CommonAccessModifierBasePrepareAccessCalculation(ListDataObject, AccessCallContext).)
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