The Enable/ Disable User task will enable or disable the specified user.
This is modifying the state of the Enabled checkbox for the specified user in the Security settings.
Property Name | Description |
---|---|
Enable User | Determines if the user is enabled (True) or disabled (False). |
User Name | The name of the user to enable or disable. |
Title | Changes the Title (not the name) of the task. |
When this task is added the properties are static by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.
The user "Sales Manager" is to be enabled:
Property | Example rule | Example result | Meaning |
---|---|---|---|
Enable User | TRUE | TRUE | DriveWorks will enable the user specified in the User Name property. |
User Name | "Sales Manager" | "Sales Manager" | The user that DriveWorks will modify is "Sales Manager". |
The user "Reseller" is to be disabled:
Property | Example rule | Example result | Meaning |
---|---|---|---|
Enable User | ResellerIsEnabledReturn | Will be FALSE if the ResellerIsEnabled Check Box Control isn't checked. | DriveWorks will disable the user specified in the User Name property. |
User Name | "Reseller" | "Reseller" | The user that DriveWorks will modify is "Reseller". |
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.
This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.
The status output navigation is as follows:
Success (one of the following occurred)
Success with Warnings (one of the following occurred)
Failed (one of the following occurred)
See Also