Click or drag to resize

RuntimeServiceDeleteUser Method

Deletes a user. 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 DeleteUser(
	string username


Type: SystemString
The username of the user to delete.
Available since WorkflowGen version: 6.2.0

A user can't be deleted if any of the following conditions are met:

  • He created or updated a process
  • He has created or participated to one or more requests, including being in the participant of a team action
  • He is the last user association of a participant, independently of the participant role, including as a Coordinator, as a Group or as a Directory association.
  • He shared one or more views
DeleteUser does not support any optional parameters.

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


See Also