<?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 Database Users in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/list-database-users/m-p/1488522#M39739</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using Create Database User here:&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-database-user.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-database-user.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and now have the need to list these same database users.&amp;nbsp; Is there a tool for listing database users?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I see this tool...&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/listusers.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/listusers.htm&lt;/A&gt;&amp;nbsp;but this seems to list a different type of user (a connected user by id).&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2024 21:17:37 GMT</pubDate>
    <dc:creator>TylerT</dc:creator>
    <dc:date>2024-06-10T21:17:37Z</dc:date>
    <item>
      <title>List Database Users</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/list-database-users/m-p/1488522#M39739</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using Create Database User here:&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-database-user.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-database-user.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and now have the need to list these same database users.&amp;nbsp; Is there a tool for listing database users?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I see this tool...&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/listusers.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/listusers.htm&lt;/A&gt;&amp;nbsp;but this seems to list a different type of user (a connected user by id).&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 21:17:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/list-database-users/m-p/1488522#M39739</guid>
      <dc:creator>TylerT</dc:creator>
      <dc:date>2024-06-10T21:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: List Database Users</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/list-database-users/m-p/1491714#M39780</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/530005"&gt;@TylerT&lt;/a&gt;&amp;nbsp;, the Create Database User tool makes the user in the database itself, it doesn't create anything on the Esri side. So the best way to list all the database users is from the database side, eg using SQL, or a database management tool.&lt;/P&gt;&lt;P&gt;From ArcGIS Pro, you can use the Catalog pane to right-click on a Feature Class you own. Then select Privileges &amp;gt; Add User. That will return a form showing the database users, which might meet your needs.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisUnderwood_0-1718286213336.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106960i725B7E767269DE5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisUnderwood_0-1718286213336.png" alt="ChrisUnderwood_0-1718286213336.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 13:44:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/list-database-users/m-p/1491714#M39780</guid>
      <dc:creator>ChrisUnderwood</dc:creator>
      <dc:date>2024-06-13T13:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: List Database Users</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/list-database-users/m-p/1491718#M39781</link>
      <description>&lt;LI-CODE lang="sql"&gt;SELECT * FROM sys.database_principals&lt;/LI-CODE&gt;&lt;P&gt;This code in SQL should return all the user names in a specific database. This would include DB roles, etc.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 13:56:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/list-database-users/m-p/1491718#M39781</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2024-06-13T13:56:56Z</dc:date>
    </item>
  </channel>
</rss>

