<?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 list content for group in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/list-content-for-group/m-p/762926#M408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to list all the feature layers for a group, and export them to a csv file.&lt;/P&gt;&lt;P&gt;But I received an authentication error when I try to list the content for the group&lt;/P&gt;&lt;P&gt;(I am not signed into the site. It is a public access site.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F7F7F7;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F7F7F7;"&gt;&lt;STRONG style="color: green; font-size: 13.0pt;"&gt;from&lt;/STRONG&gt; &lt;STRONG style="color: blue; font-size: 13.0pt;"&gt;arcgis.gis&lt;/STRONG&gt; &lt;STRONG style="color: green; font-size: 13.0pt;"&gt;import&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt; GIS&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F7F7F7;"&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;groups &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #666666;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt; gis&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #666666;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;groups&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #666666;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;search(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #ba2121;"&gt;'title:Mygroup'&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F7F7F7;"&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;groups&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;groups1 = groups[0]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;groups1.access&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;groups1.content()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F7F7F7;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2018 18:00:30 GMT</pubDate>
    <dc:creator>annegrimes2</dc:creator>
    <dc:date>2018-03-29T18:00:30Z</dc:date>
    <item>
      <title>list content for group</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/list-content-for-group/m-p/762926#M408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to list all the feature layers for a group, and export them to a csv file.&lt;/P&gt;&lt;P&gt;But I received an authentication error when I try to list the content for the group&lt;/P&gt;&lt;P&gt;(I am not signed into the site. It is a public access site.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F7F7F7;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F7F7F7;"&gt;&lt;STRONG style="color: green; font-size: 13.0pt;"&gt;from&lt;/STRONG&gt; &lt;STRONG style="color: blue; font-size: 13.0pt;"&gt;arcgis.gis&lt;/STRONG&gt; &lt;STRONG style="color: green; font-size: 13.0pt;"&gt;import&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt; GIS&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F7F7F7;"&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;groups &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #666666;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt; gis&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #666666;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;groups&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #666666;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;search(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #ba2121;"&gt;'title:Mygroup'&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F7F7F7;"&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;groups&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;groups1 = groups[0]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;groups1.access&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.0pt; color: #4c4c4c;"&gt;groups1.content()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F7F7F7;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 18:00:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/list-content-for-group/m-p/762926#M408</guid>
      <dc:creator>annegrimes2</dc:creator>
      <dc:date>2018-03-29T18:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: list content for group</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/list-content-for-group/m-p/762927#M409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the GIS using Integrated Windows Authentication (IWA)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fcfcfc; color: #404040;"&gt;&lt;EM&gt;"If no url is provided, ArcGIS Online is used. If username/password or key/cert files are not provided, the currently logged-in user’s credentials (IWA) or anonymous access is used."&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fcfcfc; color: #404040;"&gt;&lt;EM&gt;&lt;A href="https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/#Web-tier-authentication-secured-with-IWA" rel="nofollow noopener noreferrer" target="_blank"&gt;Web-tier-authentication-secured-with-IWA&lt;/A&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;If you would use this syntax on an IWA secured portal, it would try to authenticate with your current credentials and might fail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"\n\nIntegrated Windows Authentication using NTLM or Kerberos"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; 
gis &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GIS&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fportalname.domain.com%2Fwebcontext" target="_blank"&gt;https://portalname.domain.com/webcontext&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; 
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Logged in as: "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;properties&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;user&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;username&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;/CODE&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Integrated Windows Authentication using NTLM or Kerberos Logged in as: username@DOMAIN&lt;/PRE&gt;&lt;P&gt;If not, this should actually work just fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/400379_access_public_content.PNG" style="width: 620px; height: 549px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:25:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/list-content-for-group/m-p/762927#M409</guid>
      <dc:creator>KaiSteinicke1</dc:creator>
      <dc:date>2021-12-12T08:25:34Z</dc:date>
    </item>
  </channel>
</rss>

