DeleteGroup

Deletes the group matching the provided name

Signature

public bool DeleteGroup(string groupName)

Parameters

groupName
string required

The name of the group

Return Type

bool

Example

using System;
public class CPHInline
{
    public bool Execute()
    {
        //Define the groupname you want to delete
        string groupName = "Test Group";

        //Method returns a bool type which you can check if the group was deleted
        bool groupDeleted = CPH.DeleteGroup(groupName);         return true;
    }
}