This method is context sensitive. When this object is McDBDatabase.Groups, it creates a new McDBGroup object from the arguments provided. When this object is McGroup.Groups or McDBUser.Groups, this method will add Name to the group. Therefore the Name parameter must be unique within the namespace of the context backing this McDBGroups object.
Exceptions
Error
Value
Description
E_INVALIDARG
&H80070057
Name is invalid. It either does not specify an existing
McDBGroup (when group membership is being changed) or
there is already a group with this name (when a group is
being created).