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: 7.22.15.0 (7.22.15.20240928)
Syntax public void DeleteUser(
string username
)
Public Sub DeleteUser (
username As String
)
Parameters
- username
- Type: SystemString
The username of the user to delete.
Remarks 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, independantly 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();
myRuntimeService.DeleteUser(username);
See Also