<?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 SDE connection file: get list of all roles? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/sde-connection-file-get-list-of-all-roles/m-p/1563079#M73253</link>
    <description>&lt;P&gt;I'm building a tool that involves creating a table in an enterprise geodatabase and applying privileges. I'd like the user to pick which role they want to apply for the privileges, but I can't figure out how to get a list of current roles for them to choose from. Is this possible?&lt;/P&gt;</description>
    <pubDate>Wed, 27 Nov 2024 17:47:23 GMT</pubDate>
    <dc:creator>AlfredBaldenweck</dc:creator>
    <dc:date>2024-11-27T17:47:23Z</dc:date>
    <item>
      <title>SDE connection file: get list of all roles?</title>
      <link>https://community.esri.com/t5/python-questions/sde-connection-file-get-list-of-all-roles/m-p/1563079#M73253</link>
      <description>&lt;P&gt;I'm building a tool that involves creating a table in an enterprise geodatabase and applying privileges. I'd like the user to pick which role they want to apply for the privileges, but I can't figure out how to get a list of current roles for them to choose from. Is this possible?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 17:47:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sde-connection-file-get-list-of-all-roles/m-p/1563079#M73253</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2024-11-27T17:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: SDE connection file: get list of all roles?</title>
      <link>https://community.esri.com/t5/python-questions/sde-connection-file-get-list-of-all-roles/m-p/1654155#M74747</link>
      <description>&lt;P&gt;Can you use&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/listusers.htm" target="_blank"&gt;ListUsers—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;in the validation script and output the list in the filter list of the parameter? Guess you'll need to be signed in as admin.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 13:36:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sde-connection-file-get-list-of-all-roles/m-p/1654155#M74747</guid>
      <dc:creator>MattHowe</dc:creator>
      <dc:date>2025-09-30T13:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: SDE connection file: get list of all roles?</title>
      <link>https://community.esri.com/t5/python-questions/sde-connection-file-get-list-of-all-roles/m-p/1654178#M74748</link>
      <description>&lt;P&gt;No dice; it looks like that only shows active connections and I was looking for specific groups, if I remember correctly. I think I ended up hardcoding it into the script based on which groups the user running the script belonged to, or opening it to all the users in the organization by default and letting whoever was using the script set privileges after the fact.&lt;/P&gt;&lt;P&gt;Thank you for the suggestion, though; I hadn't thought to try that.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 14:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sde-connection-file-get-list-of-all-roles/m-p/1654178#M74748</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2025-09-30T14:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: SDE connection file: get list of all roles?</title>
      <link>https://community.esri.com/t5/python-questions/sde-connection-file-get-list-of-all-roles/m-p/1654179#M74749</link>
      <description>&lt;P&gt;No probs. This might help -&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-enterprise-questions/list-database-users/td-p/1488522" target="_blank"&gt;List Database Users - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 14:15:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/sde-connection-file-get-list-of-all-roles/m-p/1654179#M74749</guid>
      <dc:creator>MattHowe</dc:creator>
      <dc:date>2025-09-30T14:15:05Z</dc:date>
    </item>
  </channel>
</rss>

