<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: currently logged on users in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76881#M29284</link>
    <description>My initial thoughts are either querying the database tables to get the information or you could work with the data under "Audit Logs" in the "System" tab. The audit log stores information on who has logged in at what time and when they've logged out.&lt;BR /&gt;&lt;BR /&gt;/Joakim&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Joakim Eklund&lt;BR /&gt;Senior RPA Developer&lt;BR /&gt;Swedbank AB&lt;BR /&gt;Europe/Stockholm&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 23 Aug 2019 06:40:00 GMT</pubDate>
    <dc:creator>joakimeklund</dc:creator>
    <dc:date>2019-08-23T06:40:00Z</dc:date>
    <item>
      <title>currently logged on users</title>
      <link>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76878#M29281</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is there a way to find out who is currently logged on in Blue Prism?&lt;BR /&gt;I know this can be queried via WS interface (http://localhost:8181/connections) but this does not work in SSO environments.&lt;BR /&gt;And I cannot find some equivalent comment for automate or automateC.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Walter Koller&lt;BR /&gt;Solution Manager&lt;BR /&gt;Erste Group IT International GmbH&lt;BR /&gt;Europe/Vienna&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Aug 2019 08:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76878#M29281</guid>
      <dc:creator>Walter.Koller</dc:creator>
      <dc:date>2019-08-20T08:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: currently logged on users</title>
      <link>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76879#M29282</link>
      <description>Hi Walter,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If the working environment is based on the SSO, then you could use the following Windows native command remotely to find out currently logged on user of the Blue Prism.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;query user /server:MyRuntimeResource01&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jega Avinasinathan&lt;BR /&gt;Customer Support Engineer&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2019 01:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76879#M29282</guid>
      <dc:creator>jegendra</dc:creator>
      <dc:date>2019-08-22T01:56:00Z</dc:date>
    </item>
    <item>
      <title>RE: currently logged on users</title>
      <link>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76880#M29283</link>
      <description>​Hello,&lt;BR /&gt;&lt;BR /&gt;thanks for the command, this will come definitely handy when one of our VDI is blocked again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Unfortunately it does only show local sessions of the /server but not who is generally logged on to Blue Prism application server&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Walter Koller&lt;BR /&gt;Solution Manager&lt;BR /&gt;Erste Group IT International GmbH&lt;BR /&gt;Europe/Vienna&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Aug 2019 07:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76880#M29283</guid>
      <dc:creator>Walter.Koller</dc:creator>
      <dc:date>2019-08-22T07:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: currently logged on users</title>
      <link>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76881#M29284</link>
      <description>My initial thoughts are either querying the database tables to get the information or you could work with the data under "Audit Logs" in the "System" tab. The audit log stores information on who has logged in at what time and when they've logged out.&lt;BR /&gt;&lt;BR /&gt;/Joakim&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Joakim Eklund&lt;BR /&gt;Senior RPA Developer&lt;BR /&gt;Swedbank AB&lt;BR /&gt;Europe/Stockholm&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Aug 2019 06:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76881#M29284</guid>
      <dc:creator>joakimeklund</dc:creator>
      <dc:date>2019-08-23T06:40:00Z</dc:date>
    </item>
    <item>
      <title>RE: currently logged on users</title>
      <link>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76882#M29285</link>
      <description>It would be a good feature to know what client connections are logged into the Blue Prism environment.&amp;nbsp;&amp;nbsp; I need this when performing upgrades.&amp;nbsp;&amp;nbsp;I warn the team of the planned upgrade/outage.&amp;nbsp;&amp;nbsp; I check that all runtime resources have gotten to a Logged Out status or cause them to log out.&amp;nbsp;&amp;nbsp; I check for any LOCKED processes or objects, a client using the environment such as in the development environment, by querying the &lt;STRONG&gt;BPAProcessLock&lt;/STRONG&gt; table (add a JOIN to the BPAProcess table to see the name of the process or object).&amp;nbsp; This gives me the best and easiest view of users that are using the system and would need to save their work.&amp;nbsp;&amp;nbsp; I also check the &lt;STRONG&gt;BPAUser&lt;/STRONG&gt; table to see when users have logged in recently (order by lastsignedin DESC).&amp;nbsp; Yet, per the Audit Log suggestion in this thread, it is better to use the &lt;STRONG&gt;BPAAuditEvents&lt;/STRONG&gt; table and filter on the sNarritive field being LIKE %logged into% or %logged out% and order in descending order (I used a MAX function to get the latest/newest event per the narrative to see the last logged in event and logged out event for each user.&amp;nbsp;&amp;nbsp; It takes some scanning of the data to see if a person is logged in or recently logged in but has logged out.&amp;nbsp;&amp;nbsp; So far, I have found it easier to run 2 queries to view the 'logged out' results besides the 'logged in' results to determine if a user's last action has been a 'logout' and thereby not still 'logged in'.&amp;nbsp;&amp;nbsp; Surely there is a way to get creative with a query and determine who has logged in but not logged out.&amp;nbsp;&amp;nbsp; I may work on that later but we do not have many users at my company and thus, not a big deal to scan for a few users - machine sessions right now.&lt;BR /&gt;&lt;BR /&gt;It would be great if there something in the Control Room to make this easy -- screen to see the list of logged in users.​&amp;nbsp;&amp;nbsp; Anyway, I like the Audit Log suggestion Joakim.&amp;nbsp;&amp;nbsp; While it would be tedious to use the Blue Prism client to view the audit log information about the logged in users, the querying of the BPAAuditEvents is easy.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Brenton Westwood&lt;BR /&gt;Systems Analyst&lt;BR /&gt;Southern Company&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 25 Aug 2019 16:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76882#M29285</guid>
      <dc:creator>bjwestwo</dc:creator>
      <dc:date>2019-08-25T16:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: currently logged on users</title>
      <link>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76883#M29286</link>
      <description>Unfortunately BPAAuditEvents sometimes tracks login events without corresponding logout event.&lt;BR /&gt;I can see several login events for some users but no logout event.&lt;BR /&gt;&lt;BR /&gt;btw. the events might also be filtered by column sCode:&amp;nbsp;&lt;BR /&gt;L001 = 'logged into'&lt;BR /&gt;L002 = 'logged out'&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Walter Koller&lt;BR /&gt;Solution Manager&lt;BR /&gt;Erste Group IT International GmbH&lt;BR /&gt;Europe/Vienna&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Sep 2019 10:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76883#M29286</guid>
      <dc:creator>Walter.Koller</dc:creator>
      <dc:date>2019-09-06T10:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: currently logged on users</title>
      <link>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76884#M29287</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;login event without logouts IMO means Blue Prism app crashes when user is logged in.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We are using this kind of select to determine possible logged in users (PossiblyLoggedIN &amp;gt; 0 - most probably user is logged in)&lt;BR /&gt;&lt;BR /&gt;-- change this&lt;BR /&gt;use yourBPdatabaseName;&lt;BR /&gt;&lt;BR /&gt;-- using last two days login data&lt;BR /&gt;declare @EvDate as date&lt;BR /&gt;set @EvDate = GetDate()-2&lt;BR /&gt;&lt;BR /&gt;SELECT &lt;BR /&gt; USR.username&lt;BR /&gt;, EvLogin = (SELECT COUNT(A.[eventid]) from [dbo].[BPAAuditEvents] A where A.gSrcUserID = USR.userid And a.sCode = 'L001' and a.eventdatetime &amp;gt; @EvDate)&lt;BR /&gt; , EvLogout = (SELECT COUNT(A.[eventid]) from [dbo].[BPAAuditEvents] A where A.gSrcUserID = USR.userid And a.sCode = 'L002'and a.eventdatetime &amp;gt; @EvDate)&lt;BR /&gt; , PossiblyLoggedIN = (SELECT COUNT(A.[eventid]) from [dbo].[BPAAuditEvents] A where A.gSrcUserID = USR.userid And a.sCode = 'L001' and a.eventdatetime &amp;gt; @EvDate) - (SELECT COUNT(A.[eventid]) from [dbo].[BPAAuditEvents] A where A.gSrcUserID = USR.userid And a.sCode = 'L002'and a.eventdatetime &amp;gt; @EvDate)&lt;BR /&gt;FROM [dbo].[BPAUser] USR&lt;BR /&gt;where username is not null&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mindaugas Breskus&lt;BR /&gt;Software engineer&lt;BR /&gt;Swedbank&lt;BR /&gt;Europe/Vilnius&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Sep 2019 11:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/currently-logged-on-users/m-p/76884#M29287</guid>
      <dc:creator>MindaugasBresku</dc:creator>
      <dc:date>2019-09-16T11:10:00Z</dc:date>
    </item>
  </channel>
</rss>

