Platform SDK: Active Directory, ADSI, and Directory Services |
To delete a group from a domain, bind to the container containing the group and specify "group" as the class using IADsContainer::Delete to delete the group. You do not need to call IADs::SetInfo method to commit the change to the container. The IADsContainer::Delete call commits the deletion of the group directly to the directory.