ObjectsWithIdentityPropertyMatch Class |
The access modifier controls access to data objects of an unspecified type (for example 'Roles'). It is only to be used in views as it has no access calculation logic (only load-option modification!). An object is accessible to a user if: - he has an identity (if not an error is thrown!) - the identity has the same value for a specified property as the object itself (that is, the object must have the very same property with the very same value(s) as the identity) - if the property is a multi-value set- or reference-property just one value need to be in common before it is considered a match
The access modifier requires the parameter MATCHPROPERTY which holds a system name of a property. The MATCHPROPERTY is the one being matched. MATCHPROPERTY must be present on both the Identity DOT as well as the DOT for the objects controlled by the access modifier. There is, however, and exception to this - see IDENTITYPROPERTY for details.
If MATCHPROPERTY is a reference property then the optional parameter IDENTITYPROPERTY can be applied. IDENTITYPROPERTY holds a system name of a reference property present on the Identity DOT. If IDENTITYPROPERTY is specified then the identity's value(s) for IDENTITYPROPERTY will be matched with the objects' value(s) for MATCHPROPERTY.
If MATCHPROPERTY is a reference property then the optional parameter INCLUDEIDENTITYVALUEPARENTS can be applied. INCLUDEIDENTITYVALUEPARENTS is a boolean indicating whether the parents of the identity values should be included in the match. As an example: if the MATCHPROPERTY states an org. unit and INCLUDEIDENTITYVALUEPARENTS is true then the match will be performed on the identity's org. unit as well as all parent data objects to the org. unit (on all levels up to the root).
OVERRIDEGROUPS parameter can be spcified with a list of user group UIds, if the active user is a member of any of these specified groups then the access modifier is overridenThe match property must be either: - a set property - a reference property - a value property w. datatype 'text' or 'integer'
Namespace: Omada.OE.Solution.OIM.AppLogic.AccessModifiers
public class ObjectsWithIdentityPropertyMatch : ViewAccessModifierBase
The ObjectsWithIdentityPropertyMatch type exposes the following members.
Name | Description | |
---|---|---|
![]() | ObjectsWithIdentityPropertyMatch |
Name | Description | |
---|---|---|
![]() | DbConnection |
Note: not available in the Initialize() method.
(Inherited from CommonAccessModifierBase.) |
![]() | DbTransaction |
Note: not available in the Initialize() method.
(Inherited from CommonAccessModifierBase.) |
![]() | Factory |
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.) |
![]() | Parameters |
The parameters specified for the access modifier in the Initialize() method.
Tip: retrieve a parameter value by using the GetParameterValue() method.
(Inherited from CommonAccessModifierBase.) |
Name | Description | |
---|---|---|
![]() | CalculateAccess | (Inherited from ViewAccessModifierBase.) |
![]() | GetAccessFlags |
Get accessflags according to the readergroups, admingroups, and configuration of authrole elements.
(Inherited from CommonAccessModifierBase.) |
![]() | GetParameterValue(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.) |
![]() | GetParameterValue(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.) |
![]() | GetParameterValue(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.) |
![]() | GetParameterValue(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.) |
![]() | GetUIdsFromParameter(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.) |
![]() | GetUIdsFromParameter(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.) |
![]() | Initialize | (Overrides CommonAccessModifierBaseInitialize(IDictionaryString, String).) |
![]() | ModifyLoadOptions | (Overrides CommonAccessModifierBaseModifyLoadOptions(DataObjectLoadOptionsBase, AccessCallContext).) |
![]() | PrepareAccessCalculation | (Inherited from CommonAccessModifierBase.) |
![]() | QueryDataObjectIds |
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.) |
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |
Name | Description | |
---|---|---|
![]() ![]() | IDataObjectFieldLevelAccessModifierCalculateAccess | (Inherited from CommonAccessModifierBase.) |
![]() ![]() | IDataObjectFieldLevelAccessModifierPrepareAccessCalculation | (Inherited from CommonAccessModifierBase.) |