4 Replies Latest reply: Nov 10, 2012 10:20 AM by Dhananjay Neeraj2 RSS

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

    $sid
      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