I found from Remedy support that Administrator's Licenses->Manage User licenses will only show 'Currently Active Users' i.e users who are currently accessing system. So if a user with fixed license who is loged in to Remedy but did not work with it for more then one hour, this user will not be shown in the Manage License Tool and in ars_GetListUser($ctrl, 2); This brings me to a question is there a way to get list of users who are connected to Remedy regardless active or inactive? -Stan
----- Original Message ----- From: Mark Vaughan <arsperl-users@arsperl.org> To: arsperl-users@arsperl.org At: 9/08 16:46:51 The driver tool comes with the API. This should be installed on the host you are using to run ARSperl from. I just installed ARS 7.0 and it is located under my server's directory tree at ARServer/Api/driver. It is C source code (you must compile it with a C compiler). Once compiled, the executable exercises the vast majority, if not all, of the API calls available for the C API. The crucial steps are listed in my original message (see below). By exercising the glu command, you can get the same results as what the Admin tool shows and what ARSperl shows. Please keep in mind that the results may be a bit different depending upon users getting on and off of the system. HTH, Mark Vaughan 303.471.9987 (home) 303.601.4434 (mobile) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of STAN HOLODNAK, BLOOMBERG/ 731 LEXIN Sent: Friday, September 07, 2007 10:14 AM To: arsperl-users@arsperl.org Subject: Re: [Arsperl-users] how to get list of users connected to Remed Mark what do you mean by deriver tool? When I login with Admin account to the Manage User licenses, I see 30 people connected, but at the same time running GetListUser I get list of only 20 people. ----- Original Message ----- From: Mark Vaughan <arsperl-users@arsperl.org> To: arsperl-users@arsperl.org At: 9/06 17:05:51 Are you logging in using an Admin account? Have you compared the output with that found using the Admin tool? How about the data returned from the driver tool that comes with the API? The driver tool should output the same results as your script. If the Admin tool matches the driver tool and neither matches the output of your script, what is the output? Are you only getting yourself in the response? If so and you are using '2' as your second argument, then it sounds as if you're using a non-Admin account. Barring all this, please provide output from the Admin tool (File->Licenses->Manage User Licenses), driver tool (init, log (use same login as your script), ssp (if you need to specify a particular port), glu (select 2 for UserListType)), and your @hashactiveusers list (x [EMAIL PROTECTED]). HTH, Mark Vaughan TTS Development Comcast Cable Corporation 720.268.8591 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of STAN HOLODNAK, BLOOMBERG/ 731 LEXIN Sent: Thursday, September 06, 2007 2:00 PM To: arsperl-users@arsperl.org Subject: Re: [Arsperl-users] how to get list of users connected to Remed Mark thank you for replying. I use my @hashactiveusers = ars_GetListUser ($ars_ctrl, 2); My ARS(Solaris/INformix) is 6.3 patch 22, ARSPerl version 1.83 lives on the other machine on Linux. I guess API is installed on the same machine as ARSPerl but I can't find it. ----- Original Message ----- From: Mark Vaughan <arsperl-users@arsperl.org> To: arsperl-users@arsperl.org At: 9/05 18:05:12 Stan, What versions of ARSperl, API, & ARS? Are you specifying a '2' (for currently attached users) as the second parameter? The list you get should be the same as what is displayed using the Admin tool. HTH, Mark Vaughan TTS Development Comcast Cable Corporation 720.268.8591 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of STAN HOLODNAK, BLOOMBERG/ 731 LEXIN Sent: Wednesday, September 05, 2007 2:31 PM To: ARSPERL-USERS@ARSPERL.ORG Subject: [Arsperl-users] how to get list of users connected to Remedy Hello everyone, I am trying to get list of people connected to Remedy through User tool or Web. GetListUser doesn't work properly. It returns list that doesn't include all people connected. Is there a better way? Thank you. ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/_______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/_______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/_______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/_______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users