<?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: Retrieve List of active users and information in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Retrieve-List-of-active-users-and-information/m-p/960723#M29685</link>
    <description>You may want to check out this topic, which has a sample program for reporting on users and groups.&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/td-p/723793" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/td-p/723793&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This pulls information from the identities service. The credentials service has endpoints for authentication domains (/credentials/domains) and for each domain you could call /credentials/domains/domain-id/credentials, which would indicate the identity (user or group) associated with each credential in that particular domain.</description>
    <pubDate>Mon, 03 Mar 2025 14:27:46 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2025-03-03T14:27:46Z</dc:date>
    <item>
      <title>Retrieve List of active users and information</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Retrieve-List-of-active-users-and-information/m-p/960712#M29681</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a script that will be able to pull user information , such as username , groups , related authdomains for Viya 3.5.&lt;/P&gt;&lt;P&gt;Most scripts I see are for sas 9.&lt;/P&gt;&lt;P&gt;Is there a script or tool that could be used to retrieve this info, or code that could be executed on SAS Studio?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reponse.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 12:49:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Retrieve-List-of-active-users-and-information/m-p/960712#M29681</guid>
      <dc:creator>Jed_Klei</dc:creator>
      <dc:date>2025-03-03T12:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve List of active users and information</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Retrieve-List-of-active-users-and-information/m-p/960715#M29682</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/446874"&gt;@Jed_Klei&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you might want to look into the sas-admin CLI&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/calcdc/3.4/calcli/n01xwtcatlinzrn1gztsglukb34a.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/calcdc/3.4/calcli/n01xwtcatlinzrn1gztsglukb34a.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also query, programatically, through the RestAPIs SAS VIya offers:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.sas.com/rest-apis" target="_blank"&gt;https://developer.sas.com/rest-apis&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 14:00:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Retrieve-List-of-active-users-and-information/m-p/960715#M29682</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2025-03-03T14:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve List of active users and information</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Retrieve-List-of-active-users-and-information/m-p/960723#M29685</link>
      <description>You may want to check out this topic, which has a sample program for reporting on users and groups.&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/td-p/723793" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/td-p/723793&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This pulls information from the identities service. The credentials service has endpoints for authentication domains (/credentials/domains) and for each domain you could call /credentials/domains/domain-id/credentials, which would indicate the identity (user or group) associated with each credential in that particular domain.</description>
      <pubDate>Mon, 03 Mar 2025 14:27:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Retrieve-List-of-active-users-and-information/m-p/960723#M29685</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-03-03T14:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve List of active users and information</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Retrieve-List-of-active-users-and-information/m-p/960924#M29698</link>
      <description>&lt;P&gt;Thank you for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do experience the same issues mentioned in the post to link provided.&lt;/P&gt;&lt;P&gt;This is using the updated code.&lt;/P&gt;&lt;P&gt;My issue is the program completes with error but the temp file Work.Users is populated with 15900 users.&lt;/P&gt;&lt;P&gt;I then increased the obs, and each time i incremented it userinfo was loaded into the Work.userinfo,that are active and retrieved from LDAP.&lt;/P&gt;&lt;P&gt;Will changing the obs to 15901 ensure all users info are loaded into the temp Work.userinfo file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 08:24:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Retrieve-List-of-active-users-and-information/m-p/960924#M29698</guid>
      <dc:creator>Jed_Klei</dc:creator>
      <dc:date>2025-03-05T08:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve List of active users and information</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Retrieve-List-of-active-users-and-information/m-p/960945#M29701</link>
      <description>The table work.users is built from a loop of all users found in the identities service. Removing the obs limit, or setting it to a value higher than the total number of users, would ensure all users are added.&lt;BR /&gt;Without knowing the error you are encountering, I can't say why you are encountering an error.</description>
      <pubDate>Wed, 05 Mar 2025 14:31:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Retrieve-List-of-active-users-and-information/m-p/960945#M29701</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-03-05T14:31:44Z</dc:date>
    </item>
  </channel>
</rss>

