<?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: Remove Users via code Portal 10.5.1 in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/remove-users-via-code-portal-10-5-1/m-p/70586#M837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It Works!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: i found that if i try to delete a user via POST with this service and the user does not exist, the message that return is wrong:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{"error":{"code":403,"messageCode":"GWM_0003","message":"You do not have permissions to access this resource or perform this operation.","details":[]}}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help Jeff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Dec 2018 19:01:02 GMT</pubDate>
    <dc:creator>RoberthSanchez</dc:creator>
    <dc:date>2018-12-28T19:01:02Z</dc:date>
    <item>
      <title>Remove Users via code Portal 10.5.1</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/remove-users-via-code-portal-10-5-1/m-p/70584#M835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I need delete users from portal (previously added with LDAP) via code, i can see there is a way to remove users using the web service&amp;nbsp;&lt;STRONG&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Farcgis%2Fsharing%2Frest%2Fportals%2Fxxx789ABCDEF%2FremoveUsers" rel="nofollow" target="_blank"&gt;https://domain.com/arcgis/sharing/rest/portals/xxx789ABCDEF/removeUsers&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;but only works to remove built-in users, not for enterprise users added with LDAP. There is a way&amp;nbsp;to remove this kind of users via code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;i'll be gratefull if anyone can help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2018 16:35:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/remove-users-via-code-portal-10-5-1/m-p/70584#M835</guid>
      <dc:creator>RoberthSanchez</dc:creator>
      <dc:date>2018-12-26T16:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Users via code Portal 10.5.1</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/remove-users-via-code-portal-10-5-1/m-p/70585#M836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roberth,&lt;/P&gt;&lt;P&gt;This can be done through&amp;nbsp;&lt;STRONG&gt;&lt;A class="unlinked"&gt;https://portal.domain.com/arcgis/sharing/rest/community/users/*u&lt;/A&gt;&lt;SPAN&gt;sername*/delete&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;where *username* is replaced with the enterprise username you are trying to delete.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2018 21:14:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/remove-users-via-code-portal-10-5-1/m-p/70585#M836</guid>
      <dc:creator>JeffSmith</dc:creator>
      <dc:date>2018-12-26T21:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Users via code Portal 10.5.1</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/remove-users-via-code-portal-10-5-1/m-p/70586#M837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It Works!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: i found that if i try to delete a user via POST with this service and the user does not exist, the message that return is wrong:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{"error":{"code":403,"messageCode":"GWM_0003","message":"You do not have permissions to access this resource or perform this operation.","details":[]}}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help Jeff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2018 19:01:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/remove-users-via-code-portal-10-5-1/m-p/70586#M837</guid>
      <dc:creator>RoberthSanchez</dc:creator>
      <dc:date>2018-12-28T19:01:02Z</dc:date>
    </item>
  </channel>
</rss>

