<?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 How to access &amp;quot;users_update_items&amp;quot; in a Group object in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-access-quot-users-update-items-quot-in-a/m-p/1002865#M5222</link>
    <description>&lt;P&gt;Hi All!&lt;/P&gt;&lt;P&gt;Looking for some help on how to access the &lt;STRONG&gt;users_update_items&lt;/STRONG&gt; property of the &lt;STRONG&gt;Group&lt;/STRONG&gt; object.&amp;nbsp; I'm not sure if this is possible, but I do see it as an argument in the class.&lt;/P&gt;&lt;P&gt;Trying to get that attribute out so I can assess what permissions the group members have-can they only edit their own content or can they edit others' content in the group too?&lt;/P&gt;&lt;P&gt;I can successfully call back the following from my group object in the code:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;title&lt;/LI&gt;&lt;LI&gt;owner&lt;/LI&gt;&lt;LI&gt;access&lt;/LI&gt;&lt;LI&gt;description&lt;/LI&gt;&lt;LI&gt;groupid&lt;/LI&gt;&lt;LI&gt;get_members (works too)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks so much in advance!&lt;/P&gt;</description>
    <pubDate>Thu, 19 Nov 2020 06:37:52 GMT</pubDate>
    <dc:creator>SolanaFoo2</dc:creator>
    <dc:date>2020-11-19T06:37:52Z</dc:date>
    <item>
      <title>How to access "users_update_items" in a Group object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-access-quot-users-update-items-quot-in-a/m-p/1002865#M5222</link>
      <description>&lt;P&gt;Hi All!&lt;/P&gt;&lt;P&gt;Looking for some help on how to access the &lt;STRONG&gt;users_update_items&lt;/STRONG&gt; property of the &lt;STRONG&gt;Group&lt;/STRONG&gt; object.&amp;nbsp; I'm not sure if this is possible, but I do see it as an argument in the class.&lt;/P&gt;&lt;P&gt;Trying to get that attribute out so I can assess what permissions the group members have-can they only edit their own content or can they edit others' content in the group too?&lt;/P&gt;&lt;P&gt;I can successfully call back the following from my group object in the code:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;title&lt;/LI&gt;&lt;LI&gt;owner&lt;/LI&gt;&lt;LI&gt;access&lt;/LI&gt;&lt;LI&gt;description&lt;/LI&gt;&lt;LI&gt;groupid&lt;/LI&gt;&lt;LI&gt;get_members (works too)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks so much in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 06:37:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-access-quot-users-update-items-quot-in-a/m-p/1002865#M5222</guid>
      <dc:creator>SolanaFoo2</dc:creator>
      <dc:date>2020-11-19T06:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to access "users_update_items" in a Group object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-access-quot-users-update-items-quot-in-a/m-p/1004187#M5234</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I assume you are talking about the setting "&lt;SPAN&gt;What items in the group can its members update?" which can either be "Only their own items" or "All items (group membership is limited to the organization)".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If this is the case, then the following should help.&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;gm=arcgis.gis.GroupManager(myGIS)&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;myGroup=gm.get("groupID")&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;myGroup.capabilites&lt;/P&gt;&lt;P&gt;If "updateitemcontrol" is returned, then the group allows users to update items created by other members. If an empty listed is returned, then users can only edit their own items.&lt;/P&gt;&lt;P&gt;This is the equivalent of the "users_update_items" setting when creating a group using the create() method:&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.GroupManager" target="_blank"&gt;https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.GroupManager&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Calvin&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 01:21:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-access-quot-users-update-items-quot-in-a/m-p/1004187#M5234</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-24T01:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to access "users_update_items" in a Group object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-access-quot-users-update-items-quot-in-a/m-p/1004748#M5246</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Thanks for the reply!&amp;nbsp; I tried that out and was able to print the group name, but when I went to .capabilities it printed "[]".&lt;/P&gt;&lt;P&gt;I also saw this in the documentation: "As with other resource manager objects, you would not create an instance of GroupManager using its constructor, but access it from the groups property of the GIS object".&amp;nbsp; But even with that, your code worked to access the group, which is confusing.&lt;/P&gt;&lt;P&gt;I looked at the documentation again, and see that "user_update_items" is an argument in the "update" method for Group, and the "create" method for the GroupManager object.&amp;nbsp; So I guess it remains to be seen how to pull that property out of an existing group?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 18:16:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-access-quot-users-update-items-quot-in-a/m-p/1004748#M5246</guid>
      <dc:creator>SolanaFoo2</dc:creator>
      <dc:date>2020-11-25T18:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to access "users_update_items" in a Group object</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-access-quot-users-update-items-quot-in-a/m-p/1005555#M5253</link>
      <description>&lt;P&gt;If "[]" is returned, then the group is set to "Members can update only their own items". I would recommend you create a brand new group in your Portal organization and set the property to "true"/"&lt;SPAN&gt;All items (group membership is limited to the organization)", so that you can confirm this on your end as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In the Portal UI, this property can only be set at the time of creating the group, and can not be modified after the group has been created. Therefore, I would imagine that the same logic would apply for setting this property programmatically as well.&lt;/P&gt;&lt;P&gt;-Calvin&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 16:48:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-access-quot-users-update-items-quot-in-a/m-p/1005555#M5253</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-30T16:48:42Z</dc:date>
    </item>
  </channel>
</rss>

