OverviewCopy link to clipboard
The Deactivate User smart service allows you to select an existing user and disable them from the system. Deactivated users are still present in the system, but will not be able to log in. You must be a System Administrator or the Administrator user account in order to perform this task.
Caution: The Deactivate User node can only be run with System Administrator rights. Attempting to run this node without sufficient user rights causes a runtime exception that pauses the process and sends an alert to the Process Administrator.
The Administrator user account cannot be deactivated using this smart service.
The Deactivate User node is located under Appian Smart Services > Identity Management in the Process Modeler Palette.
PropertiesCopy link to clipboard
-
Category: Identity Management
-
Icon:
-
Assignment Options: Attended/Unattended
Configuration optionsCopy link to clipboard
This section contains tab configuration details specific to this smart service. For more information about common configurations see the Process Node Properties page.
Data tabCopy link to clipboard
The Data tab displays the node inputs and node outputs for the service node. You can add additional inputs and outputs, if needed.
Node inputsCopy link to clipboard
The default input is:
Input | Data Type | Required | Multiple |
---|---|---|---|
User | User | Yes | No |
a!deactivateUser()Copy link to clipboard
The Deactivate User smart service is available as an expression function that can be executed inside a saveInto parameter on an interface component or as part of a Web API.
SyntaxCopy link to clipboard
a!deactivateUser( user, onSuccess, onError )
ParametersCopy link to clipboard
Keyword | Type | Description |
---|---|---|
|
User |
The user to deactivate. |
|
Any Type |
A list of saves or an HTTP response to execute after the smart service executes successfully. Created with |
|
Any Type |
A list of saves or an HTTP response to execute when the smart service does not execute successfully. Created with |
Feature compatibilityCopy link to clipboard
The table below lists this smart service function's compatibility with various features in Appian.
Feature | Compatibility | Note |
---|---|---|
Portals | Partially compatible | Can be used with Appian Portals if it is connected using an integration and web API. |
Offline Mobile | Incompatible | |
Sync-Time Custom Record Fields | Incompatible | |
Real-Time Custom Record Fields | Incompatible | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Incompatible | Cannot be used to configure a process report. |
Process Events | Incompatible | Cannot be used to configure a process event node, such as a start event or timer event. |