Description

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.

Return Type

None  

Syntax

object.RemoveName NameToRemove

The RemoveName Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBRight.
NameToRemoveRequired. A String value.

A string containing the McDBRightsOwner.Name to remove from those having the right (combination) described by this McDBRight.

Exceptions

Error Value Description
E_INVALIDARG &H80070057 Rights other than Full Control (Read, Write and Delete) have been specified for the Administrators group. Administrators always have Full Control over all McDBNode objects.
E_FAIL &H80004005 This McDBRight represents the rights of a McDBRightsOwner to Unsecure McDBNode instances. It is not valid to use this method under this condition, as it does not represent the rights of more than one McDBRightsOwner.