Click or drag to resize

RuntimeServiceDeleteGroup Method

Deletes a group. Intended for web use only.

Namespace:  Advantys.Workflow.Web.Services.Processes.Runtime
Assembly:  Advantys.Workflow.Web.Services.Processes.Runtime (in Advantys.Workflow.Web.Services.Processes.Runtime.dll) Version: (
public void DeleteGroup(
	string groupName


Type: SystemString
The name of the group to delete.
Available since WorkflowGen version: 6.2.0

A group can't be deleted if the group contains all of a participant's remaining users and there is no single user associated to the participant.

Optional Parameters.

These parameters can be used in the query string or as parameters of the Headers object in the RuntimeService class instance. See example below.

GroupId (int)Specifies the Id of the group to delete. Supercedes the group name.
DirectoryNameSpecifies the directory name of the group to delete.
DirectoryId (int)Specifies the directory Id of the group to delete. Supercedes the directory name.

Sample code:
RuntimeServiceWebService.RuntimeService myRuntimeService = new RuntimeServiceWebService.RuntimeService();
RuntimeServiceWebService.GroupHeader myGroupHeader = new RuntimeServiceWebService.GroupHeader();
myRuntimeService.GroupHeaderValue = myGroupHeader;

myGroupHeader.GroupId = groupId;
myGroupHeader.DirectoryId = directoryId;


See Also