<?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: Get last login information in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-last-login-information/m-p/581063#M27103</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1521133"&gt;@gm72&lt;/a&gt; As Здравко outlined, you can compare the list of members against the login events to see which members haven't logged in. The API doesn't offer a more direct way of listing members that have never logged in than that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2022 15:57:36 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2022-03-02T15:57:36Z</dc:date>
    <item>
      <title>Get last login information</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-last-login-information/m-p/580609#M27094</link>
      <description>&lt;P&gt;We have been trying to get the last login information for all of our students by using the get_events endpoint and are not having success retrieving the information on the post back.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a specific value we need to send in the request body in order to retrieve this information? Our goal is to target specific users for deletion if they have not logged in for some time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 08:55:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-last-login-information/m-p/580609#M27094</guid>
      <dc:creator>gm72</dc:creator>
      <dc:date>2022-03-03T08:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get last login information</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-last-login-information/m-p/580624#M27095</link>
      <description>&lt;P&gt;Can you elaborate on what you mean when you say you "are not having success retrieving the information on the post back"? Are you getting some error or unexpected output that you can share?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able to use the &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events" target="_self"&gt;/2/team_log/get_events&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events-continue" target="_self"&gt;/continue&lt;/A&gt;] endpoints to list events for your team. For logins in particular, you can set the "category" parameter to "logins".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recommend using &lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/team/#team_log_get_events" target="_self"&gt;the API v2 Explorer&lt;/A&gt; to prototype and test calls like this, as it makes it easy to configure and try out calls.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 18:58:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-last-login-information/m-p/580624#M27095</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-02-28T18:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get last login information</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-last-login-information/m-p/580931#M27101</link>
      <description>&lt;P&gt;Thank you for your reply. I was unaware of the Dropbox API Explorer but that will be a great help going forward in conjunction with Postman.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found, however, that what we are actually looking for is a list of end-users who have NEVER logged in. This API request seems to retrieve either failed or successful logins.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you point me in a direction or specific API request which will return those results if possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again. George&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 23:24:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-last-login-information/m-p/580931#M27101</guid>
      <dc:creator>gm72</dc:creator>
      <dc:date>2022-03-01T23:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get last login information</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-last-login-information/m-p/581040#M27102</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1521133"&gt;@gm72&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;I have found, however, that what we are actually looking for is a list of end-users who have NEVER logged in. This API request seems to retrieve either failed or successful logins.&amp;nbsp;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1521133"&gt;@gm72&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, of course. All logs keep information about events (e.g. event type, moment, other related information too). On such places usually you can't find information for something never came up on the world.&lt;/P&gt;&lt;P&gt;Such type of information you have to derive from&amp;nbsp; different types of available information. As you already know, all active users can be find out, as &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt; has point you to. You can find all you users registered on your system as enumerate them. Use &lt;A title="Lists members of a team." href="https://www.dropbox.com/developers/documentation/http/teams#team-members-list" target="_blank" rel="noopener"&gt;2/team/members/list&lt;/A&gt;[&lt;A title="Paginate through all team members" href="https://www.dropbox.com/developers/documentation/http/teams#team-members-list-continue" target="_blank" rel="noopener"&gt;continue&lt;/A&gt;] for this. Once you know the set of all users on one side and the set of active users (with logging activity) on other side, you can achieve set of users never logged in as a subset of all users when removed the active users set. That's it - simple enough. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 13:18:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-last-login-information/m-p/581040#M27102</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-03-02T13:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get last login information</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-last-login-information/m-p/581063#M27103</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1521133"&gt;@gm72&lt;/a&gt; As Здравко outlined, you can compare the list of members against the login events to see which members haven't logged in. The API doesn't offer a more direct way of listing members that have never logged in than that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 15:57:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-last-login-information/m-p/581063#M27103</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-03-02T15:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get last login information</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-last-login-information/m-p/581346#M27109</link>
      <description>&lt;P&gt;Thanks. That makes sense. The only issue is that the login events page is very extensive and requires many follow up requests with the cursor included. I'm having to manually combine the received JSON data so that I can compare file to file. I'll keep looking into it to see if I can find a better way, perhaps by using a date range to limit data. I'm assuming the get_events logs each and every request.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 18:00:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-last-login-information/m-p/581346#M27109</guid>
      <dc:creator>gm72</dc:creator>
      <dc:date>2022-03-03T18:00:07Z</dc:date>
    </item>
  </channel>
</rss>

