The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Determining who is logged on, using the WebAPIs

Highlighted
Russ Forney
Regular Collector

Determining who is logged on, using the WebAPIs

I am using SD 4.5 SP17. I have a need to get trend information on how many users are logged into Service Desk. I want to schedule a WebAPI routine to run on an hourly basis, but I'm struggling to find out where I can find this information. Has anyone done anything like this? Thanks!

Russ...
3 REPLIES
Vasily Kamenev
Honored Contributor

Re: Determining who is logged on, using the WebAPIs

Hi
SQL, table REP_SESSIONS + any report system Crystal Reports or other.

Vasily
Russ Forney
Regular Collector

Re: Determining who is logged on, using the WebAPIs

Vasily,

Thanks, but I really want to use the WebAPIs, so I can schedule the routine to run on a regular basis and I can write the output to a log file to report on later. I guess I could just write a straight VBScript and use the SQL commands to get at the REP_SESSIONS table. Is there anything in the WebAPIs that you know of? Thanks!

Russ...
Vasily Kamenev
Honored Contributor

Re: Determining who is logged on, using the WebAPIs

Hi Russ.
SQL server have to a internal schedule, so you can create separate table and run SQL request each 5 min or more quickly and store data about loggers in the new table.

Vasily
//Add this to "OnDomLoad" event