Deletes a user. Intended for web use only.
Advantys.Workflow.Web.Services.Processes.Runtime (in Advantys.Workflow.Web.Services.Processes.Runtime.dll) Version: 22.214.171.124 (126.96.36.19920620)
public void DeleteUser(
Public Sub DeleteUser (
username As String
- Type: SystemString
The username of the user to delete.
Remarks Available since WorkflowGen version:
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.
RuntimeServiceWebService.RuntimeService myRuntimeService = new RuntimeServiceWebService.RuntimeService();