DeleteGroupDeleteGroup*
*Contents  *Index  *Topic Contents
*Previous Topic: CreateGroup
*Next Topic: DeleteItem

DeleteGroup


DeleteGroup(GroupName[,CommonGroupFlag])

Instructs Program Manager to delete an existing group.

GroupName
Group to be deleted.
CommonGroupFlag
Specifies whether the group is a common group or a personal group. If this parameter is 1, the group being deleted is a common group; if it is 0, the group is a personal group. If no value is specified, this parameter defaults to 1 (common group). To delete a common group, the user that is currently logged on must have administrative privileges. If this parameter is 1 but the user does not have administrative privileges, the command fails.

If the second parameter of this command specifies the path of the group file (as was required in Windows version 3.1), the parameter is ignored.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.