How to bulk disable users using Modify User task

Document ID : KB000020112
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Working with the Bulk Loader (system task or client) , using the Enable / Disable User works as an on/off switch.

In case there is a requirement to configure a specific status (enabled or disabled), using the Modify User task must be used.

Solution:

In order to set a specific status of a user, you will need to use the Modify User (or equivalent) task.
However, using the well-known name %ENABLED_STATE% will not have the desired effect, neither will using the actual attribute name (i.e carLicense orsimilar).
We will need to use the screen logical attribute |enable| in a way similar to the following examples:

action,uid,|enable|
modify,testUser1,true
modify,testUser2,false

In the above example:

  • testUser1 is modified to be enabled
  • testUser2 is modified to be disabled