<?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 Re: Splunk rest API (list all users) in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-rest-API-list-all-users/m-p/613313#M10753</link>
    <description>&lt;P&gt;The admin_all_objects capability should be all you need.&lt;/P&gt;&lt;P&gt;Have you tried using servicesNS?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest /servicesNS/-/-/admin/users&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 15 Sep 2022 19:54:17 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-09-15T19:54:17Z</dc:date>
    <item>
      <title>Splunk rest API (list all users)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-rest-API-list-all-users/m-p/613312#M10752</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;I'm tying to list all users from my Splunk cloud using this link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/RESTREF/RESTaccess#authentication.2Fusers:~:text=s%3Adict%3E%0A%20%20%20%3C/content%3E%0A%20%3C/entry%3E-,authentication/users,-https%3A//%3Chost%3E%3A%3CmPort" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/SplunkCloud/latest/RESTREF/RESTaccess#authentication.2Fusers:~:text=s%3Adict%3E%0A%20%20%20%3C/content%3E%0A%20%3C/entry%3E-,authentication/users,-https%3A//%3Chost%3E%3A%3CmPort&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However I'm using a custom role who just have the following capabilities:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* admin_all_objects&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* rest_access_server_endpoints&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* rest_apps_management&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* rest_apps_view&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* rest_properties_get&lt;BR /&gt;*edit_user&lt;BR /&gt;*search&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The user is unable to pull all users. My assumption is that&amp;nbsp;as this users does not inheritance any other role then it is not able to list all users, as per the &lt;STRONG&gt;grantableRoles&lt;/STRONG&gt;.&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;If I'm right, what chance do I have for this user to pull all users with the rest API? or what capabilities I'm missing?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 19:42:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-rest-API-list-all-users/m-p/613312#M10752</guid>
      <dc:creator>splunk_luis12</dc:creator>
      <dc:date>2022-09-15T19:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rest API (list all users)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-rest-API-list-all-users/m-p/613313#M10753</link>
      <description>&lt;P&gt;The admin_all_objects capability should be all you need.&lt;/P&gt;&lt;P&gt;Have you tried using servicesNS?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest /servicesNS/-/-/admin/users&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 15 Sep 2022 19:54:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-rest-API-list-all-users/m-p/613313#M10753</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-09-15T19:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk rest API (list all users)</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-rest-API-list-all-users/m-p/613314#M10754</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;I already tried with&amp;nbsp;| rest /servicesNS/-/-/admin/users as well but I got the same result even using the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;admin_all_objects&lt;/STRONG&gt; capability.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 20:02:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-rest-API-list-all-users/m-p/613314#M10754</guid>
      <dc:creator>splunk_luis12</dc:creator>
      <dc:date>2022-09-15T20:02:19Z</dc:date>
    </item>
  </channel>
</rss>

