Hrishikesh - Wednesday, October 2, 2013 3:28 AM:
Hi All,
I want to know that, How can we check the Number of Logged In Users in Aras Innovator.
Thanks,
Hrishikesh
vasant - Wednesday, October 2, 2013 7:03 AM:
Hello Hrishikesh,
You can use below soap method to get Active User List:
var res = aras.soapSend('GetUsersList', '<GetUsersList/>');
Thanks - Vasant
Hrishikesh - Wednesday, October 2, 2013 7:53 AM:
Hi Vasant,
Thanks for quick reply.
It works, i further gone and get the User Login Name as below code.
var res = top.aras.soapSend('GetUsersList', '<GetUsersList/>');
// here we get the count (tmp.length) of Number of Logged In User in Aras.
var tmp = res.results.selectNodes('//aras_user');
// I checked for single user as tmp[1] and i got the Login Name of User.
var loggedName = top.aras.getNodeElement(tmp[1], 'login');
Thanks,
Hrishikesh