<?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 membership_access paramenter in groups.create() method doesn't honor 'none'/None option in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/membership-access-paramenter-in-groups-create/m-p/1354934#M9341</link>
    <description>&lt;P&gt;I have a script that ingests a csv of jurisdictions and creates groups/apps based on that list. I am running into an issue with one of the parameters of the groups.create() method: the memebership_access parameter isn't honored.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#gis" target="_self"&gt;The documentation&lt;/A&gt; says it will take will take 'org', 'collaboration', and 'none' as optional strings (and the documentation is itself confused, because in the example script it uses None, which is quite different).&amp;nbsp;&lt;/P&gt;&lt;P&gt;The docs says 'none' is the default, but it isn't. If no argument is given it defaults to org. Calling 'collaboration' works. &lt;STRONG&gt;However, calling 'none' (or None, as I've tried both) does not work&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A code snippet:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;j = 'Riverside5'
print('\nCreating group for '+ j + '...')

newGroup = gis.groups.create(title = 'FHSZ LRA - ' + j, tags = tagsList, snippet = groupSnippetText, access = 'private', display_settings = 'apps', is_invitation_only = 'True', sort_order = 'desc', thumbnail = groupThumbnailURL, membership_access='none')

print('Group created. Group ID: '+ newGroup.id)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result stays here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SFM_TravisBott_0-1701299081979.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87521i4C66AB1666170FAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SFM_TravisBott_0-1701299081979.png" alt="SFM_TravisBott_0-1701299081979.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The intention of the script is to assist in the creation of hundreds of groups. Not being able to specify this setting is a considerable problem.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2023 23:06:22 GMT</pubDate>
    <dc:creator>SFM_TravisBott</dc:creator>
    <dc:date>2023-11-29T23:06:22Z</dc:date>
    <item>
      <title>membership_access paramenter in groups.create() method doesn't honor 'none'/None option</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/membership-access-paramenter-in-groups-create/m-p/1354934#M9341</link>
      <description>&lt;P&gt;I have a script that ingests a csv of jurisdictions and creates groups/apps based on that list. I am running into an issue with one of the parameters of the groups.create() method: the memebership_access parameter isn't honored.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#gis" target="_self"&gt;The documentation&lt;/A&gt; says it will take will take 'org', 'collaboration', and 'none' as optional strings (and the documentation is itself confused, because in the example script it uses None, which is quite different).&amp;nbsp;&lt;/P&gt;&lt;P&gt;The docs says 'none' is the default, but it isn't. If no argument is given it defaults to org. Calling 'collaboration' works. &lt;STRONG&gt;However, calling 'none' (or None, as I've tried both) does not work&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A code snippet:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;j = 'Riverside5'
print('\nCreating group for '+ j + '...')

newGroup = gis.groups.create(title = 'FHSZ LRA - ' + j, tags = tagsList, snippet = groupSnippetText, access = 'private', display_settings = 'apps', is_invitation_only = 'True', sort_order = 'desc', thumbnail = groupThumbnailURL, membership_access='none')

print('Group created. Group ID: '+ newGroup.id)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result stays here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SFM_TravisBott_0-1701299081979.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87521i4C66AB1666170FAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SFM_TravisBott_0-1701299081979.png" alt="SFM_TravisBott_0-1701299081979.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The intention of the script is to assist in the creation of hundreds of groups. Not being able to specify this setting is a considerable problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 23:06:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/membership-access-paramenter-in-groups-create/m-p/1354934#M9341</guid>
      <dc:creator>SFM_TravisBott</dc:creator>
      <dc:date>2023-11-29T23:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: membership_access paramenter in groups.create() method doesn't honor 'none'/None option</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/membership-access-paramenter-in-groups-create/m-p/1354960#M9342</link>
      <description>&lt;P&gt;Solved here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-api-for-python-questions/cannot-enable-any-organization-s-members-setting/td-p/1299559" target="_blank"&gt;https://community.esri.com/t5/arcgis-api-for-python-questions/cannot-enable-any-organization-s-members-setting/td-p/1299559&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 23:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/membership-access-paramenter-in-groups-create/m-p/1354960#M9342</guid>
      <dc:creator>SFM_TravisBott</dc:creator>
      <dc:date>2023-11-29T23:50:36Z</dc:date>
    </item>
  </channel>
</rss>

