<?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: Python SDK dbx_team.team_members_get_info_v2 need to list EMPLID, PERSISTENT ID, EXTERNAL ID,, e in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-SDK-dbx-team-team-members-get-info-v2-need-to-list-EMPLID/m-p/761930#M33295</link>
    <description>&lt;P&gt;Yeah it was weird I had to do the below to get a the name.&amp;nbsp; The error I got was a bit confusing but maybe it was my compiler. &lt;SPAN&gt;print&lt;/SPAN&gt;(&lt;SPAN&gt;" Name is :" &lt;/SPAN&gt;+ &lt;SPAN&gt;str&lt;/SPAN&gt;(info.get_member_info().profile.name) )&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2024 18:16:04 GMT</pubDate>
    <dc:creator>JohnAdam_CUNY</dc:creator>
    <dc:date>2024-04-04T18:16:04Z</dc:date>
    <item>
      <title>Python SDK dbx_team.team_members_get_info_v2 need to list EMPLID, PERSISTENT ID, EXTERNAL ID,, etc.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-SDK-dbx-team-team-members-get-info-v2-need-to-list-EMPLID/m-p/761881#M33291</link>
      <description>&lt;P&gt;Python SDK for Dropbox:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to get the team member id but I also need to list given name, surname, external id, persistent id, and email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See below code sample.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For results I get class List and result(0] gives me the below as well.&lt;BR /&gt;for info I get MembersGetInfoItemV2('member_info', TeamMemberInfoV2(profile=TeamMemberProfile(account_id=DATA REMOVED...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;------ Code Snippet -------&lt;BR /&gt;user = dropbox.team.UserSelectorArg.email(email)&lt;BR /&gt;result = dbx_team.team_members_get_info_v2([user])&lt;BR /&gt;print(result._members_info_value)&lt;BR /&gt;for info in result.members_info:&lt;BR /&gt;if info.is_member_info():&lt;BR /&gt;DBMID_NEW_USER= info.get_member_info().profile.team_member_id&lt;BR /&gt;print(info)&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 15:21:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-SDK-dbx-team-team-members-get-info-v2-need-to-list-EMPLID/m-p/761881#M33291</guid>
      <dc:creator>JohnAdam_CUNY</dc:creator>
      <dc:date>2024-04-04T15:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Python SDK dbx_team.team_members_get_info_v2 need to list EMPLID, PERSISTENT ID, EXTERNAL ID,, e</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-SDK-dbx-team-team-members-get-info-v2-need-to-list-EMPLID/m-p/761900#M33292</link>
      <description>&lt;P&gt;The 'profile' seen in this code/output is a &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/team.html#dropbox.team.TeamMemberProfile" target="_blank"&gt;TeamMemberProfile&lt;/A&gt;, which is based on &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/team.html#dropbox.team.MemberProfile" target="_blank"&gt;MemberProfile&lt;/A&gt;, so you can access whatever of those documented fields you need there, just like you currently for do for 'team_member_id'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, for example, just like you access ...'.profile.team_member_id', you can access ...'.profile.external_id ', etc.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 16:56:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-SDK-dbx-team-team-members-get-info-v2-need-to-list-EMPLID/m-p/761900#M33292</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-04-04T16:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Python SDK dbx_team.team_members_get_info_v2 need to list EMPLID, PERSISTENT ID, EXTERNAL ID,, e</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-SDK-dbx-team-team-members-get-info-v2-need-to-list-EMPLID/m-p/761923#M33293</link>
      <description>&lt;P&gt;Thanks that worked it gotr stuck on Name. DOesnt appear to be an attribute under profile. is there another way to get the Display name&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 17:43:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-SDK-dbx-team-team-members-get-info-v2-need-to-list-EMPLID/m-p/761923#M33293</guid>
      <dc:creator>JohnAdam_CUNY</dc:creator>
      <dc:date>2024-04-04T17:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Python SDK dbx_team.team_members_get_info_v2 need to list EMPLID, PERSISTENT ID, EXTERNAL ID,, e</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-SDK-dbx-team-team-members-get-info-v2-need-to-list-EMPLID/m-p/761929#M33294</link>
      <description>&lt;P&gt;The following all work for me:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;print(info.get_member_info().profile.name)
print(info.get_member_info().profile.name.given_name)
print(info.get_member_info().profile.name.surname)
print(info.get_member_info().profile.name.display_name)&lt;/LI-CODE&gt;
&lt;P&gt;Note though that the values won't be set if the account doesn't have a name set yet (e.g., if it's a new invite).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If something isn't working correctly for you, feel free to share the code you're running and the full error/output you get.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 18:11:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-SDK-dbx-team-team-members-get-info-v2-need-to-list-EMPLID/m-p/761929#M33294</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-04-04T18:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Python SDK dbx_team.team_members_get_info_v2 need to list EMPLID, PERSISTENT ID, EXTERNAL ID,, e</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-SDK-dbx-team-team-members-get-info-v2-need-to-list-EMPLID/m-p/761930#M33295</link>
      <description>&lt;P&gt;Yeah it was weird I had to do the below to get a the name.&amp;nbsp; The error I got was a bit confusing but maybe it was my compiler. &lt;SPAN&gt;print&lt;/SPAN&gt;(&lt;SPAN&gt;" Name is :" &lt;/SPAN&gt;+ &lt;SPAN&gt;str&lt;/SPAN&gt;(info.get_member_info().profile.name) )&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 18:16:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-SDK-dbx-team-team-members-get-info-v2-need-to-list-EMPLID/m-p/761930#M33295</guid>
      <dc:creator>JohnAdam_CUNY</dc:creator>
      <dc:date>2024-04-04T18:16:04Z</dc:date>
    </item>
  </channel>
</rss>

