cancel
Showing results for 
Search instead for 
Did you mean: 

currently logged on users

Walter.Koller
Level 11
Hi,

Is there a way to find out who is currently logged on in Blue Prism?
I know this can be queried via WS interface (http://localhost:8181/connections) but this does not work in SSO environments.
And I cannot find some equivalent comment for automate or automateC. 

Thanks

------------------------------
Walter Koller
Solution Manager
Erste Group IT International GmbH
Europe/Vienna
------------------------------
4 REPLIES 4

RobinToll
Staff
Staff

There is no function call to determine "currently logged in users". When a login occurs, it's registered in the BPAAuditEvents table, which is probably your best source for the information. It should give you a code L001 for login and a code L002 for logout. This can be combined with the gSrcUserId and gTgtResourceID fields to get useful information - if the most recent record for a user is a login without an associated logout, for example, that means they still should be active somewhere (e.g. have the client open).

Hope this helps,



------------------------------
Robin Toll
Senior Technical Consultant
Blue Prism
Professional Services Americas
Infrastructure & Architecture Specialist
------------------------------

Thanks a lot for your answer.

But the 'connections' via HTTP interface does show the currently logged on users, right? Or is it just the connection this specific resource is aware of?
Unfortunately I am not able to test myself.


------------------------------
Walter Koller
Solution Manager
Erste Group IT International GmbH
Europe/Vienna
------------------------------

One can be tricked by querying the BPAAuditEvents table if users launch multiple instances of Blue Prism on the same machine.   I wrote a query that checked if there was a Login time for a user-machine greater than the maximum (latest) logged out time.   I thought I had something until I found out my fellow developers were launching multiple instances of Blue Prism on the same machine and logging out of some instances and leaving some instances open/logged in.   This event in the audit table makes it look like they are logged out but they are not!  The auditing may need to track a Login per Instance of Blue Prism opened on a machine (need an additional column for tracking this it seems).

------------------------------
Brenton Westwood
Systems Analyst
Southern Company
------------------------------

@BrentonWestwood​ - Not sure if I got it correct, however if you have to check logged in users to blue prism VM, there are actions in login agent VBO. However I recently observed a issue with that as well, even though I was logged into VM and running action Is logged in and get logged in users from process studio, it gives me False and no user in collection.

------------------------------
Mayank Goyal
------------------------------