Click or drag to resize

SecurityEvaluatedObject Class

Represents an object to evaluate security for in order to determine what the active user is allowed to do in a UI dialog.
Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogicSecurityEvaluatedObject

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

The SecurityEvaluatedObject type exposes the following members.

Constructors
  NameDescription
Public methodSecurityEvaluatedObject
Top
Properties
  NameDescription
Public propertyAuthElementId
The auth element that represents the object's type of data.
Public propertyObjectId
Id of the object that has been/will be security evaluated. Is zero when dialog displays a new object to-be-created. When implementing a objectToEvaluateGetter then .Id should *not* be assigned - PrepareSecurityContextHelper will do that itself.
Public propertyObjectType
ObjectType of the object that has been/will be security evaluated. Is null if dialog doesn't set a PageDataConfigObjectType.
Public propertyObjectUId
UId of the object that has been/will be security evaluated. Is zero when dialog displays a new object to-be-created.
Public propertyOwnerObjectId
If the object is owned (aggregated) by another object (i.e. a form field is owned by a form) then the owner object id must be specified here. The OwnerObjectId is used when the specified object is one that is about to be created: In that case we check if there is Update access to the owner object (as the creation is essentially an update of the owner object). A specified OwnerObjectId must be non-zero.
Public propertyOwnerObjectType
Type of the OwnerObjectId. Must be specified when OwnerObjectId is specified. Must be a type that doesn't have a compound key.
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
See Also