Identity Management (MOSC)

MOSC Banner

How to set status of user marked as "Deleted" to "Active" using java APIs

edited Aug 6, 2014 5:02AM in Identity Management (MOSC) 2 commentsAnswered

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center