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!

How to get login details of currently logged in user in OIM using oim api?

$sidNov 9 2012 — edited Nov 10 2012
Hi All,

I am using tcOperationIntf api to fetch the logged in user. For this i am creating connection with OIM with xelsysadm credentials. So the problem is every time i'm getting the details of xelsysadm but not the actual logged in user. I am using below snippet for getting user self profile

try {
resultsetObject = moUserUtility.getSelfProfile();
}
catch (tcAPIException e)
{
logger.info(e.getMessage());
}
strAdminUserName = resultsetObject.getStringValue("USR_LOGIN");

How can i get the actual logged in user details??? using oim api in my java code

Regards
sid
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 8 2012
Added on Nov 9 2012
4 comments
748 views