Click or drag to resize

IDataObjectAccessModifier Interface

An access modifier can modify the access rights dictated by the Data Object Security Model for certain data objects. An access modifier is typically defined for data objects of a single data object type - but it doesn't have to.

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public interface IDataObjectAccessModifier : IAccessModifierBase

The IDataObjectAccessModifier type exposes the following members.

Methods
  NameDescription
Public methodCalculateAccess
The method calculates and returns a set of access flags for a specific user to a specific data object. The method can both add and remove access compared to the access stated by the DOSM security model. Implementation should be lightweight as the method is called for each data object beling loaded when DataObjectLoadOptions.LoadSecurity==true.
Public methodInitialize
Method is called to initialize the access modifier class with a set of parameters.
Public methodModifyLoadOptions
Modifies a load options object so only data objects that the active user is allowed to view (according to the access modifier) are loaded. The load options object might be both extended and narrowed by the method.
Public methodPrepareAccessCalculation
The system calls this method prior to calling CalculateAccess() a number of times.
Top
See Also