Hi,
I have a requirement where I need to set the value for login username as dmadmin.
I have loged in to the webtop as testinguser.
But when I want to run the below DFC code for getting login username as dmadmin, then I am getting the loginusername as testinguser
IDfSession session = getSession();
String loggedInUser = session.getLoginUserName();
System.out.println("Logged in User is " + loggedInUser);
Can anybody tell me where I need to change, so that I can get the session.getLoginUserName() as dmadmin, if I have logged in as testinguser ?
Kindly help me. It is very urgent.
Thanks in advance.
****************************************************************
Hi,
I am able to set the loginuser as dmadmin by changing configuration in dm_server_config.
We did the below changes in DA and after that it worked fine.
basic configuration -> Repository Properties -> Authorization settings -> then set the Run action as "Super User"