<?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 How to find out if email address is team member? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-find-out-if-email-address-is-team-member/m-p/437584#M23085</link>
    <description>&lt;P&gt;I want to know if it is possible to check through the (basic) API whether a given email address is a team member or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My case is the following:&lt;/P&gt;
&lt;P&gt;I want to let people share files through our own app. When the active user has Dropbox Teams and sharing files externally is turned off, I would like to detect whether a 'Share' operation will work before actually performing it. For this I would like to check the email address of the recipient that the user has specified. If the recipient is a Team Member, sharing is allowed. Otherwise a message is shown and sharing is not allowed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I figured out how to check if external sharing is allowed, by checking the SharingPolicies for the active account. I get the active account using 'Users/GetCurrentAccount'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I could get the AccountId for the recipient, I could call 'Users/GetAccount' which should tell me whether it is a Team Member or not. However, I don't know how to get the AccountId for a given email address.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone tell me how to get the AccountId for a given email address, or if I could use a different approach to check whether an email address is a Team Member?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: I would like to avoid using the Business API.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jul 2020 12:44:18 GMT</pubDate>
    <dc:creator>vsTheijs</dc:creator>
    <dc:date>2020-07-15T12:44:18Z</dc:date>
    <item>
      <title>How to find out if email address is team member?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-find-out-if-email-address-is-team-member/m-p/437584#M23085</link>
      <description>&lt;P&gt;I want to know if it is possible to check through the (basic) API whether a given email address is a team member or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My case is the following:&lt;/P&gt;
&lt;P&gt;I want to let people share files through our own app. When the active user has Dropbox Teams and sharing files externally is turned off, I would like to detect whether a 'Share' operation will work before actually performing it. For this I would like to check the email address of the recipient that the user has specified. If the recipient is a Team Member, sharing is allowed. Otherwise a message is shown and sharing is not allowed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I figured out how to check if external sharing is allowed, by checking the SharingPolicies for the active account. I get the active account using 'Users/GetCurrentAccount'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I could get the AccountId for the recipient, I could call 'Users/GetAccount' which should tell me whether it is a Team Member or not. However, I don't know how to get the AccountId for a given email address.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone tell me how to get the AccountId for a given email address, or if I could use a different approach to check whether an email address is a Team Member?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: I would like to avoid using the Business API.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 12:44:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-find-out-if-email-address-is-team-member/m-p/437584#M23085</guid>
      <dc:creator>vsTheijs</dc:creator>
      <dc:date>2020-07-15T12:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out if email address is team member?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-find-out-if-email-address-is-team-member/m-p/437668#M23088</link>
      <description>&lt;P&gt;No, unfortunately it's not possible to get the account ID for any given email address, or otherwise check if the corresponding account is on the same team,&amp;nbsp;but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 16:01:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-find-out-if-email-address-is-team-member/m-p/437668#M23088</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-07-15T16:01:08Z</dc:date>
    </item>
  </channel>
</rss>

