<?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 Groups and User members from rest API using token (ArcGis online) in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/groups-and-user-members-from-rest-api-using-token/m-p/47978#M216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &amp;nbsp;everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to call arcgis web api to get the list of all users and groups in my organization, using a token I have generated during authentication process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried a couple of options but none of them seems to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #fafafa; font-size: 12px;"&gt;&lt;A href="https://geofy.maps.arcgis.com/portaladmin/security/groups/searchEnterpriseGroups" rel="nofollow noopener noreferrer" target="_blank"&gt;https://geofy.maps.arcgis.com/portaladmin/security/groups/searchEnterpriseGroups&lt;/A&gt;&amp;nbsp;(POST)&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="string token"&gt;"f"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"json"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="string token"&gt;"maxCount"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"10"&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;A href="https://geofy.maps.arcgis.com/portaladmin/security/groups/searchEnterpriseGroups" style="color: #2989c5; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;https://geofy.maps.arcgis.com/portaladmin/security/groups/searchEnterpriseGroups&lt;/A&gt;&lt;SPAN style="color: #505050; background-color: #fafafa;"&gt;&amp;nbsp;(POST)&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="string token"&gt;"token"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"xxxxx"&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="string token"&gt;"f"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"json"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="string token"&gt;"maxCount"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"10"&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #fafafa; font-size: 12px;"&gt;&lt;A href="https://geofy.maps.arcgis.com/sharing/rest/content/groups?f=pjson&amp;amp;token=xxxxxxxxxxxxxx" rel="nofollow noopener noreferrer" target="_blank"&gt;https://geofy.maps.arcgis.com/sharing/rest/content/groups?f=pjson&amp;amp;token=xxxxxxxxxxxxxx&lt;/A&gt;&amp;nbsp;(GET)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #fafafa; font-size: 12px;"&gt;I don't know if there is something wrong with URL or with parameters. I have been trying for more then 2 week to solve this but nothing seems to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #fafafa; font-size: 12px;"&gt;I have analysed the Rest API reference&amp;nbsp;&lt;A class="link-titled" href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Groups/02r300000295000000/" title="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Groups/02r300000295000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS REST API&lt;/A&gt;&amp;nbsp;&amp;nbsp;but still couldn't find the solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #fafafa; font-size: 12px;"&gt;Kind Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 21:51:04 GMT</pubDate>
    <dc:creator>GeofyAdmin</dc:creator>
    <dc:date>2021-12-10T21:51:04Z</dc:date>
    <item>
      <title>Groups and User members from rest API using token (ArcGis online)</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/groups-and-user-members-from-rest-api-using-token/m-p/47978#M216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &amp;nbsp;everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to call arcgis web api to get the list of all users and groups in my organization, using a token I have generated during authentication process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried a couple of options but none of them seems to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #fafafa; font-size: 12px;"&gt;&lt;A href="https://geofy.maps.arcgis.com/portaladmin/security/groups/searchEnterpriseGroups" rel="nofollow noopener noreferrer" target="_blank"&gt;https://geofy.maps.arcgis.com/portaladmin/security/groups/searchEnterpriseGroups&lt;/A&gt;&amp;nbsp;(POST)&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="string token"&gt;"f"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"json"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="string token"&gt;"maxCount"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"10"&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;A href="https://geofy.maps.arcgis.com/portaladmin/security/groups/searchEnterpriseGroups" style="color: #2989c5; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;https://geofy.maps.arcgis.com/portaladmin/security/groups/searchEnterpriseGroups&lt;/A&gt;&lt;SPAN style="color: #505050; background-color: #fafafa;"&gt;&amp;nbsp;(POST)&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="string token"&gt;"token"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"xxxxx"&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="string token"&gt;"f"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"json"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="string token"&gt;"maxCount"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"10"&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #fafafa; font-size: 12px;"&gt;&lt;A href="https://geofy.maps.arcgis.com/sharing/rest/content/groups?f=pjson&amp;amp;token=xxxxxxxxxxxxxx" rel="nofollow noopener noreferrer" target="_blank"&gt;https://geofy.maps.arcgis.com/sharing/rest/content/groups?f=pjson&amp;amp;token=xxxxxxxxxxxxxx&lt;/A&gt;&amp;nbsp;(GET)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #fafafa; font-size: 12px;"&gt;I don't know if there is something wrong with URL or with parameters. I have been trying for more then 2 week to solve this but nothing seems to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #fafafa; font-size: 12px;"&gt;I have analysed the Rest API reference&amp;nbsp;&lt;A class="link-titled" href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Groups/02r300000295000000/" title="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Groups/02r300000295000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS REST API&lt;/A&gt;&amp;nbsp;&amp;nbsp;but still couldn't find the solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #fafafa; font-size: 12px;"&gt;Kind Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:51:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/groups-and-user-members-from-rest-api-using-token/m-p/47978#M216</guid>
      <dc:creator>GeofyAdmin</dc:creator>
      <dc:date>2021-12-10T21:51:04Z</dc:date>
    </item>
  </channel>
</rss>

