Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

search with User creation Date

hrushiJul 27 2010 — edited Jul 29 2010
Hi,
I am trying to search users based on the user creating date, but am not able to retrieve the users. Can anyone suggest me how to search the users based on "Users.Creation Date" or "Users.Provisioned Date".

Code am using to search is:
cal=Calendar.getInstance();
System.out.println(className+methodName+"Date used to search users is: "+sdf.format(cal.getTime()).toString());
searchCriteria.put("Users.Creation Date", "2010-07-27");
userset=userIntf.findUsers(searchCriteria);
System.out.println(className+methodName+"Number of users found: "+userset.getRowCount());
this returns zero, though I created user today i.e., 2010-07-27.

When I print the user details by searching with user ID, details printed are:

Users.User ID::test
Users.Key::39
Users.Last Name::test
Users.First Name::test
Users.Manager Key::
Users.Manager Login::
Users.Manager First Name::
Users.Manager Last Name::
Users.Xellerate Type::End-User
Users.Creation Date::2010-07-27
Users.Identity::
Users.Note::
Users.Updated By::1
Users.Update Date::2010-07-27
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 26 2010
Added on Jul 27 2010
5 comments
1,219 views