Description

A McDBRightsOwner object encapsulates a generic database security rights owning object, either an McDBUser or an McDBGroup. This polymorphic definition is used as a base definition for both of these derived types, giving uniform base functionality and interchangability (when possible) to these classes.

Object Model



Remarks

The relationships between the McDBRightsOwner, McDBUser, and McDBGroup objects imply that McDBUser and McDBGroup objects start with the same basic properties and methods, described by McDBRightsOwner, and extend them with properties/methods that are specific to their type only. Also implied is that it is impossible to create a McDBRightsOwner object, because actual database objects must be either an McDBUser of McDBGroup. However, either object may be referred to as an McDBRightsOwner, so long as no property or method that is specific to McDBUser or McDBGroup is used.

Members

Methods
Delete

Delete this McDBUser or McDBGroup object from its McDBDatabase.


Properties
AttributeTypeAdminRightRead-write property

Whether this McDBRightsOwner has the ability to create, write, and delete McDBAttributeType instances.

DatabaseRead-only property

The McDBDatabase containing this McDBRightsOwner.

FullNameRead-write property

The user friendly, full name of this McDBUser or the description of this McDBGroup.

IDRead-only property

The database-wide unique identifier for this McDBRightsOwner (McDBUser or McDBGroup) object.

IsAdministratorRead-write property

Whether this McDBRightsOwner can administrate database Security.

IsGroupRead-only property

Whether this McDBRightsOwner is an McDBGroup

IsUserRead-only property

Whether this McDBRightsOwner is an McDBUser

NameRead-only property

The name of this McDBUser or McDBGroup.

ObjectTypeAdminRightRead-write property

Whether this McDBRightsOwner has the ability to create, write, and delete McDBType instances.

RightsAdminRightRead-write property

Whether this McDBRightsOwner has the ability to create, write, and delete McDBRights instances.

UnsecObjRightsRead-only property

The access this McDBRightsOwner has to unsecure database objects.