How to bulk disable users using Modify User task in Identity Manager
search cancel

How to bulk disable users using Modify User task in Identity Manager

book

Article ID: 20112

calendar_today

Updated On: 04-28-2025

Products

CA Identity Manager CA Identity Portal

Issue/Introduction

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

If there is a use case/requirement to configure a specific status (enabled or disabled), using the Modify User task must be used, that can be also achieved as described below.

Resolution

In order to set a specific status of a user, one 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 (e.g. carLicense or similar).

One has to use the screen logical attribute |enable| in a way similar to the following example:

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