DataObjectSecurity Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class DataObjectSecurity : IObjectWithId, ICloneable
The DataObjectSecurity type exposes the following members.
Name | Description | |
---|---|---|
![]() | DataObjectSecurity(Int32) |
Constructor taking the ID of the DataObject for which the security is defined.
|
![]() | DataObjectSecurity(Int32, DataObjectPermissions) |
Constructor taking the ID of the DataObject for which the security is defined and the permissions.
|
Name | Description | |
---|---|---|
![]() | ActiveUserAccessModifierPermissions |
Contains permissions for the active user to the data object, which
the security configuration is defined for, according to the applied access modifier.
An access modifier can only affect READ and UPDATE permissions - so the remaing ones are always derrived from the data object security model.
The permissions are NOT for the data object referred in DataObjectId - but for the data object which embeds the security object.
Can be null.
|
![]() | DataObjectId |
Contains the DataObject for which the security is defined.
The DataObjectSecurity object for a specific DataObject can contain the ID of another DataObject.
In such case, the object is enheriting it from the other DataObject.
|
![]() | Permissions |
Contains the permissions on the DataObject
|
![]() | PropertyAccess |
Systemname of properties on the dataobject, which can be updated
|
![]() | UseCloneFlags | Obsolete.
Contains the clone permissions on the DataObject
|
Name | Description | |
---|---|---|
![]() | ActiveUserHasPermissions |
Returns whether the active user has a specified set of permission flags
to the data object, which the security object is for.
If the data object type (of the data object, which the security object is for)
has an access modifier this is taken into consideration.
|
![]() | Clone |
Clone of the object
|
![]() ![]() | ConvertAccessFlags |
Static method to convert AccessFlags to PermissionFlags
|
![]() ![]() | ConvertPermissionFlags |
Static method to convert PermissionFlags to AccessFlags
|
![]() | GetActiveUserPermissionFlags |
Returns the permission flags for the active (identity) user.
Important: the active users' authlevel is considered - that is,
member groups are only considered if their authlevel is less than or eq.
to the identity authlevel.
Also, if the data object type (of the data object, which the security object is for)
has an access modifier then this is taken into consideration as well.
|
![]() | GetActiveUserPermissionFlags(Boolean) |
Returns the permissions flags for the active (identity) user.
Important: the active users' authlevel is considered - that is,
member groups are only considered if their authlevel is less than or eq.
to the identity authlevel.
|
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 | |
---|---|---|
![]() ![]() | IObjectWithId.GetId |