Description

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

Property type

A Boolean value.  

Syntax

object.RightsAdminRight [= value]

The RightsAdminRight Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBRightsOwner.
valueA Boolean value.

Remarks

RightsAdminRight

Has Security Rights Administration rights

McDBRights instances are secured, and only users with this permission may create and modify them. Assigning the value of this property requires that the McDBDatabase.LoggedUser have McDBRightsOwner.IsAdministrator rights. The Database Security subsystem does not require users to have this right in order to assign existing right combinations to objects, only create new combinations.

Exceptions

Error Value Description
E_ACCESSDENIED &H80070005 The McDBDatabase.LoggedUser does not have McDBRightsOwner.IsAdministrator privileges.
E_UNEXPECTED &H8001FFFF A framework error occurred while attempting to assign this property.

Notes

A McDBUser that does not have this right is not allowed to assign (new) rights to objects, even ones they created and have Write access to. That is, all objects they create will retain the McDBUser.NewObjectRights assigned when it was created, but may only be reassigned to another existing combination by that McDBUser.