Description

The McDBUser interface represents a user within a secure McDBDatabase.

Object Model





Remarks

In addition to the base interface functionality, an McDBUser interface exposes:

 A McDBGroups object containing the groups this user belongs to.
 A DefaultObjectRights property, which is used when the user
        creates new McDBNode objects.
 A method for reassigning the user's login password, requiring
        the old password be provided.
 A VARIANT_BOOL property indicating whether the user is an
        administrator (of security).

Members

Methods
Delete

Delete this McDBUser or McDBGroup object from its McDBDatabase.

SetPassword

The password of an McUser cannot be retrieved, but may be assigned, if the old password can be provided and the user has sufficient access rights. This method allows the password of this McDBUser to be assigned in this manner.


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.

GroupsRead-only property

A McDBGroups collection object containing the McDBGroup objects of which this McDBUser is a member.

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.

NewObjectRightsRead-only property

The McDBRights assigned to a new McDBNode created by this McDBUser.

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.