How to set status of user marked as "Deleted" to "Active" using java APIs
We would like to use the Identity java API to "undelete" a user, i.e. set the status of a user whose current status is "Deleted" to "Active"
The following was tried:
// use UserManager to retrieve the User
// create new User using same EntityId as retrieved User
// call setStatus("Active") on the new User
// call UserManager.modify(new User)
This, however, resulted in:
IAM-3056160:Modify User Profile request cannot set or change attribute Status, since it is not defined in the corresponding data set. :Modify User Profile:Status
I found a note on a similar issue (but for "Job Code") on metalink, but it is not clear