Description

An object representing the association between one or more McDBRightOwner objects and the 8 permutations of the 3 axes of access (Read, Write, and Delete).

Object Model


Remarks

McDBRight objects encapsulate a combination of security/access permissions. The meaning of these objects, and how they are used, is context sensitive. Each McDBRight object is either owned by:

A McDBRights object, representing one axis of access in the combination of accesses the McDBRights object represents.

or

A McDBRightsOwner (McDBUser or McDBGroup), representing the combination of rights that McDBRightsOwner has to unsecure McDBNode objects.

When an McDBRight is owned by an McDBRights, it is defined by the single combination of access rights (i.e. presence/absence of Read, Write, and Delete rights), WHICH MAY NOT BE CHANGED. A McDBRight of this type represents the McDBRightsOwner object(s) that have this combination of rights. Therefore, McDBRight objects of this type may have its Names changed, thereby changing the accesses of McDBRightsOwner object(s) to the McDBNode.Rights to which the Owner apply(ies).

When an McDBRight is instanced from an McDBRightsOwner, it defines the rights that McDBRightsOwner has to Unsecure McDBNode objects. In this case, the Names property is empty/unused and the rights axes (Read, Write, and Delete) may be assigned, thereby changing the permissions the McDBRightsOwner has to Unsecure McDBNode objects.

Members

Methods
AddName

Add a single McDBRightsOwner object (McDBUser or McDBGroup) to those having the the permissions described by the Read, Write, and Delete properties of this McDBRight.

Apply

Commit changes made to an McDBRight representing access rights to Unsecure database objects.

Reload

Reset/revert changes made to an McDBRight representing access rights to Unsecure database objects.

RemoveName

The complement of AddName(), this method will remove a single McDBRightsOwner object (by Name) from those having the permissions described by the Read, Write, and Delete properties of this McDBRight.


Properties
DeleteRead-write property

This property indicates whether this McDBRight object indicates a right containing delete permission.

IsDirtyRead-only property

Whether the contents of this McDBRight object has changed since it was instanced.

NamesRead-write property

This property indicates which McDBRightsOwner object(s) (users and groups) have the permissions described by the Read, Write, and Delete property of this McDBRight.

OwnerRead-only property

A backwards link to the McDBRights collection containing this McDBRight.

ReadRead-write property

This property indicates whether this McDBRight object indicates a right containing read permission.

WriteRead-write property

This property indicates whether this McDBRight object indicates a right containing write permission.