Description

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

Property type

A Boolean value.  

Syntax

object.AttributeTypeAdminRight [= value]

The AttributeTypeAdminRight Property syntax has these parts:

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

Remarks

McDBAttributeType instances can be secured in secure databases, so that only users with this permission may create, modify, or delete them. However, Every McDBUser in an McDBDatabase may always read all McDBAttributeType instances. This right applies only to creation, modification, and removal of these instances. Assigning the value of this property requires that the McDBDatabase.LoggedUser have McDBRightsOwner.IsAdministrator rights.

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 will not be able to add custom attributes to McDBNode instances either, as they will not be able to create the new, custom McDBAttributeType for the operation. Therefore, denail of this right effectively prevents a user from creating attributes not in the McDBNode's McDBType.Attributes definition.