Description

Add a named McDBRightsOwner to this McDBGroup.

Return Type

None  

Syntax

object.AddMember AddMe

The AddMember Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBGroup.
AddMeRequired. A String value.

The string name of an McDBUser or McDBGroup to add to this McDBGroup.

Remarks

McDBGroup.AddMember()

This method accepts the name of an McDBRightsOwner object, allowing addition of either an McDBUser or an McDBGroup this way. For this method to succeed, the McDBDatabase.LoggedUser must 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 add the specified member.