How to get login details of currently logged in user in OIM using oim api?
$sidNov 9 2012 — edited Nov 10 2012Hi 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