<?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: Calling Methods &amp;quot;asTeamMember&amp;quot; dropbox V2 api .NET in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Calling-Methods-quot-asTeamMember-quot-dropbox-V2-api-NET/m-p/170890#M6422</link>
    <description>&lt;P&gt;No, attempting to make a user call like&amp;nbsp;ListRevisionAsync with a&amp;nbsp;DropboxClient with a team-linked access token would just fail with an error message explaining the issue.&lt;/P&gt;</description>
    <pubDate>Sat, 18 Jun 2016 01:18:23 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-06-18T01:18:23Z</dc:date>
    <item>
      <title>Calling Methods "asTeamMember" dropbox V2 api .NET</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Calling-Methods-quot-asTeamMember-quot-dropbox-V2-api-NET/m-p/170887#M6419</link>
      <description>&lt;P&gt;In the V1 api you have the option to make a call as a team member that will:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;lt;param name="asTeamMember"&amp;gt;Specify the member_id of the user that the app wants to act on.&amp;lt;/param&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This is the old V1 &lt;STRONG&gt;ListRevisionAsync&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Task&amp;lt;IEnumerable&amp;lt;MetaData&amp;gt;&amp;gt; RevisionsAsync(string path, int rev_limit = 10, string locale = null, string asTeamMember = null, CancellationToken cancellationToken = default(CancellationToken));&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;In the new dropbox you can perform an action AsMember.&lt;/P&gt;
&lt;P&gt;What is the difference between performing an api call such as&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesRoutes_ListRevisionsAsync_1.htm" target="_blank" rel="nofollow noreferrer"&gt;FilesRoutes&lt;SPAN id="LST2D39B982_0"&gt;.&lt;/SPAN&gt;ListRevisionsAsync&lt;/A&gt;&amp;nbsp;using just the path or using a team client with as a AsMember call and then doing the api call?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Client.ListRevisionAsync(path)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Client.AsMember(asTeamMember).ListRevisionAsync(path)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;What is the difference between these two calls exactly? How does calling it from a different user matter?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:32:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Calling-Methods-quot-asTeamMember-quot-dropbox-V2-api-NET/m-p/170887#M6419</guid>
      <dc:creator>Filip J.1</dc:creator>
      <dc:date>2019-05-29T09:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Methods "asTeamMember" dropbox V2 api .NET</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Calling-Methods-quot-asTeamMember-quot-dropbox-V2-api-NET/m-p/170888#M6420</link>
      <description>&lt;P&gt;The&amp;nbsp;ListRevisionAsync method is always specific to a single user, and it takes a path parameter to identify the path inside that user's account.&lt;/P&gt;
&lt;P&gt;In the first example,&amp;nbsp;Client.ListRevisionAsync(path), the client object needs to be for a "user-linked" API app, where the app is linked to a specific&amp;nbsp;user. This would be a &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_DropboxClient.htm" target="_blank" rel="nofollow noreferrer"&gt;DropboxClient&lt;/A&gt; object.&lt;/P&gt;
&lt;P&gt;If your app is registered for the "Full Dropbox" permission, for instance, your app is a user-linked app.&lt;/P&gt;
&lt;P&gt;In the second example,&amp;nbsp;Client.AsMember(asTeamMember).ListRevisionAsync(path), the client object would be for a "team-linked API app. For this kind of API app, the app is connected to the&amp;nbsp;Dropbox for Business team itself, not a single user. This would be a &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_DropboxTeamClient.htm" target="_blank" rel="nofollow noreferrer"&gt;DropboxTeamClient&lt;/A&gt; object. That being the case, by default there is no specific user to operate on. That's why&amp;nbsp;AsMember is necessary to specify which member of the team to operate on.&lt;/P&gt;
&lt;P&gt;If your app is registered for the "Team information" permission, for instance, your app is a team-linked app.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2016 06:49:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Calling-Methods-quot-asTeamMember-quot-dropbox-V2-api-NET/m-p/170888#M6420</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-06-17T06:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Methods "asTeamMember" dropbox V2 api .NET</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Calling-Methods-quot-asTeamMember-quot-dropbox-V2-api-NET/m-p/170889#M6421</link>
      <description>&lt;P&gt;If I am registered as a "team-linked" app, would I be allowed to make an instance of the DropboxClient and make a call to Client.ListRevisionAsync(path) without a teamMemberId since the method does not ask for one?&lt;/P&gt;
&lt;P&gt;Would making a call from the DropboxClient as a "team-linked" app return different results?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2016 23:12:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Calling-Methods-quot-asTeamMember-quot-dropbox-V2-api-NET/m-p/170889#M6421</guid>
      <dc:creator>Filip J.1</dc:creator>
      <dc:date>2016-06-17T23:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Methods "asTeamMember" dropbox V2 api .NET</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Calling-Methods-quot-asTeamMember-quot-dropbox-V2-api-NET/m-p/170890#M6422</link>
      <description>&lt;P&gt;No, attempting to make a user call like&amp;nbsp;ListRevisionAsync with a&amp;nbsp;DropboxClient with a team-linked access token would just fail with an error message explaining the issue.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2016 01:18:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Calling-Methods-quot-asTeamMember-quot-dropbox-V2-api-NET/m-p/170890#M6422</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-06-18T01:18:23Z</dc:date>
    </item>
  </channel>
</rss>

