Deleting a group

To delete a Group, remove the item from the retrieved InfoObjects collection and commit it back again. For example:

var Groups = IStore.Query("SELECT SI_ID FROM CI_SYSTEMOBJECTS WHERE SI_PROGID='CrystalEnterprise.UserGroup' And SI_ID="+GroupID+"");

Groups.Delete (1);

IStore.Commit (Groups);

Go to the next section: Adding a group



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com