Description
The access this McDBRightsOwner has to unsecure database objects.
-
Property type
-
A McDBRight object.
-
Syntax
-
object.UnsecObjRights
The UnsecObjRights Property syntax has these parts: |
| object | An expression evaluating to an object of type McDBGroup. | Remarks
When an McDBDatabase is secure (i.e. McDBDatabase.EnableSecurity has been called), McDBNode instances are associated with a set of Read, Write, and Delete access permissions, each of which is in turn associated with a list of McDBUser and McDBGroup instances. These permissions are applied when the McDBNode is created, and are defined by the McDBUser.NewObjectRights of the McDBDatabase.LoggedUser. However, McDBNode instances that existed before security was enabled and those created when the McDBDatabase.LoggedUser has not specified their McDBUser.NewObjectRights, access permissions are considered unsecure and access to these objects are defined on a per-RightsOwner (user or group) basis, and are defined by this McDBRight property.
Notes
The McDBRight in this property is instantiated when the McDBRightsOwner is created, and may not be replaced, only modified. That is, the value of this property will never be Nothing. Therefore, in order to modify the value of this property, it is necessary to retrieve this McDBRight and keep a reference on it. Do NOT attempt to assign the McDBRight properties of this property without holding a reference to this property. That is, an operation such as ThisMcDBRightsOwner.UnsecObjRights.Read=True will NOT work as expected. See the example for sample code.
|