<?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 Parameters for remove_users from group? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/parameters-for-remove-users-from-group/m-p/798169#M1937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pretty simple question.&amp;nbsp; What are the parameter types for the remove_users method from a group?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.Group.remove_users"&gt;documentation&lt;/A&gt; says the parameter usernames is a "&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;Required string. A comma-separated list of users to be removed."&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;So is usernames a string or a list of strings?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;The method also returns a "&lt;SPAN&gt;dictionary with a key notRemoved that is a list of users not removed."&amp;nbsp; However, it seems to be returning a dictionary whose value for the notRemoved key seems to be a list of my string characters:&amp;nbsp;&amp;nbsp;{'notRemoved': ['e', 'k', 'v', '5', '_', 'c', 'd']}.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;Can someone tell me what I'm doing wrong?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;Ryan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2020 18:40:21 GMT</pubDate>
    <dc:creator>RyanDavis1</dc:creator>
    <dc:date>2020-06-23T18:40:21Z</dc:date>
    <item>
      <title>Parameters for remove_users from group?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/parameters-for-remove-users-from-group/m-p/798169#M1937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pretty simple question.&amp;nbsp; What are the parameter types for the remove_users method from a group?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.Group.remove_users"&gt;documentation&lt;/A&gt; says the parameter usernames is a "&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;Required string. A comma-separated list of users to be removed."&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;So is usernames a string or a list of strings?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;The method also returns a "&lt;SPAN&gt;dictionary with a key notRemoved that is a list of users not removed."&amp;nbsp; However, it seems to be returning a dictionary whose value for the notRemoved key seems to be a list of my string characters:&amp;nbsp;&amp;nbsp;{'notRemoved': ['e', 'k', 'v', '5', '_', 'c', 'd']}.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;Can someone tell me what I'm doing wrong?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;Ryan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 18:40:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/parameters-for-remove-users-from-group/m-p/798169#M1937</guid>
      <dc:creator>RyanDavis1</dc:creator>
      <dc:date>2020-06-23T18:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters for remove_users from group?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/parameters-for-remove-users-from-group/m-p/798170#M1938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured it out... I had to add my string to a single element list first.&amp;nbsp; I still think the documentation is confusing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 19:58:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/parameters-for-remove-users-from-group/m-p/798170#M1938</guid>
      <dc:creator>RyanDavis1</dc:creator>
      <dc:date>2020-06-23T19:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters for remove_users from group?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/parameters-for-remove-users-from-group/m-p/1305623#M8847</link>
      <description>&lt;P&gt;I've found this to be relatively common especially with the ArcGIS API for Python, and now also with Arcade. I use the "Was this page helpful" link on the right hand side of the page and report the confusing (and sometimes incorrect) documentation in hopes that it will be cleaned up. I have generally had very good success with this, with documentation being cleaned up relatively quickly and an email thank-you message showing up in my email inbox.&amp;nbsp; I was just about to do the same for this one when I came across this community posting. One ongoing issue with the ArcGIS API for Python is that much of the help appears to come from the REST api help. This would be ok in many cases, but in some cases parameter names are different or operate slightly differently.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is frustrating that the documentation is unclear. I find that no matter how clear the documentation appears with ESRI, I sometimes have to run tests to see if my understanding of it is correct.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 23:27:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/parameters-for-remove-users-from-group/m-p/1305623#M8847</guid>
      <dc:creator>fklotz</dc:creator>
      <dc:date>2023-07-04T23:27:04Z</dc:date>
    </item>
  </channel>
</rss>

