<?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: SAS VIYA -  Fetching List of Users/Groups/Creation Date in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727204#M21812</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: Download file sorted. However, Program errors out and goes into infinite loop when I remove obs=10 option&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please request your help here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 17 Mar 2021 17:55:28 GMT</pubDate>
    <dc:creator>kovuruy</dc:creator>
    <dc:date>2021-03-17T17:55:28Z</dc:date>
    <item>
      <title>SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/723793#M21705</link>
      <description>&lt;P&gt;Hi All - Request you all to help on how to extract User Profile information from SAS VIYA into an excel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I checked, I can view each user details and do not see any option to download to excel for all the users listed in SAS Viya.&lt;/P&gt;&lt;P&gt;Details: Current version--&amp;gt;&amp;nbsp; SAS Environment manager 8.1.&lt;/P&gt;&lt;P&gt;Requirement: List all users and groups and if possible creation date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 07:46:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/723793#M21705</guid>
      <dc:creator>kovuruy</dc:creator>
      <dc:date>2021-03-05T07:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/723870#M21710</link>
      <description>&lt;P&gt;Exporting user information to Excel is not a function of Environment Manager.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the identities service REST API to pull this information.&lt;/P&gt;
&lt;P&gt;/identities/users would return the users&lt;/P&gt;
&lt;P&gt;/identities/users/&amp;lt;user_id&amp;gt; would return information about that user, including creation date.&lt;/P&gt;
&lt;P&gt;/identities/users/&amp;lt;user_id&amp;gt;/memberships would return the groups that user is a member of.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have the desired information in your REST API client, you could export to csv or excel depending on the client.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This program could be run in SAS Studio to pull this information, it combines all the group IDs into a single comma separated value (i.e. group1,group2,group3). You end up with a dataset work.userinfo you could then export.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* --- Begin Edit --- */
%let baseurl=http://viya.demo.sas.com;
 
/* Set a per response limit. */
%let limit=100;

/* Init some files for the PROC HTTP output. */
filename headout temp;
filename resp temp;
filename init temp;

/* Define a table to store the user IDs we find. */
data work.users;
    stop;
    length id $ 255;
run;

%macro getusers;
 
/* Use our new token to search the users. */
proc http url="&amp;amp;baseurl/identities/users?start=0%nrstr(&amp;amp;limit)=&amp;amp;limit" oauth_bearer=sas_services out=init headerout=headout HEADEROUT_OVERWRITE;
    headers "Accept"="application/json";
run;
 
/* Read in the response. */
libname init;
libname init json fileref=init;
 
/* Put it into the dataset. */
proc sql;
    insert into work.users select id from init.items;
quit;
 
/* Read the links to see if a "next" link exists. If so, set it to a macro variable "next" */
data _null_;
    set init.links;
    if rel="next" then call execute('%let next=%nrstr('||href||')');
run;
 
 /* This loop will keep following the "next" link and appending records to the rules table until it has pulled all the rules defined. */
 
%do %while (%length(&amp;amp;next)&amp;gt;0);
 
/* Clear any existing users fileref and create one for this iteration. */
filename users;
filename users temp;
 
/* Call the "next" URL and output to the fileref.  */
proc http url="&amp;amp;baseurl&amp;amp;next" oauth_bearer=sas_services out=users headerout=headout HEADEROUT_OVERWRITE;
    headers "Accept"="application/json";
run;

/* clear any existing users libref. */
libname users;
/* Read in the file ref. */
libname users json fileref=users;
 
%let next=;
/* If that output contains a next link, set it to the next variable, otherwise empty the next variable to end the do/while loop. */
data _null_;
    set users.links;
    if rel="next" then call execute('%let next=%nrstr('||href||')');
run;
 
/* Put the user IDs from this iteration into our data set. */
proc sql;
    insert into work.users select id from users.items;
quit;
 
%end;
%mend;
 
/* Build the table of user IDs.*/

%getusers;

/* Create an empty table with the values we want. */
data userinfo;
	stop;
	length name id title email state providerId phone created $ 255 groups $2048;
run;

/* Write a macro that can be run for a given user ID to write the user's information into the table. */
%macro getuserinfo(id=);
filename userinfo;
filename userinfo temp;
filename grpinfo;
filename grpinfo temp;

proc http url="&amp;amp;baseurl/identities/users/&amp;amp;id" oauth_bearer=sas_services out=userinfo headerout=headout HEADEROUT_OVERWRITE;
    headers "Accept"="application/json";
run;

libname userinfo;
libname userinfo json fileref=userinfo;

proc http url="&amp;amp;baseurl/identities/users/&amp;amp;id/memberships" oauth_bearer=sas_services out=grpinfo headerout=headout HEADEROUT_OVERWRITE;
    headers "Accept"="application/json";
run;

libname grpinfo;
libname grpinfo json fileref=grpinfo;

data groups;
	length groups $ 2048;
	keep groups;
	do until (last.id);
	set grpinfo.items end=eof;
	groups=catx(',',groups,id);
	if eof then output;
	end;
run;

proc sql noprint;
	insert into work.userinfo select r.name,r.id,r.title,e.value as email,r.state,r.providerId,p.value as phone,r.creationTimeStamp as created, g.groups from userinfo.root as r,userinfo.emailaddresses as e,userinfo.phonenumbers as p,work.groups as g where e.ordinal_emailAddresses=1 and p.type="work";
quit;

%mend;

/* Run that macro for each user ID. (obs=10 limits this to 10 responses for demo purposes.) */
data _null_ ;
	set users (obs=10);
	str=catt('%getuserinfo(id=',id,');');
	call execute(str);
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Mar 2021 15:16:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/723870#M21710</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-03-05T15:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/726639#M21797</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: You are a legend and as I recollect, I have been using the program that you have shared to extract users information SAS 9.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the above program in SAS Viya and these are my observations:&lt;/P&gt;&lt;P&gt;1. Program ran successfully but Users.Info dataset only listed 10 users and corresponding groups&lt;/P&gt;&lt;P&gt;2. Users dataset listed close to 2800 users present in our environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please request you to inform me if I am missing any steps or Do I need change anything if there is a limit on no of users that can list in the program&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And also, There is no option available in SAS Studio to download to our local computer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kovuruy_0-1615878576046.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55985i18CCE293FB11CEC9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kovuruy_0-1615878576046.png" alt="kovuruy_0-1615878576046.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>Tue, 16 Mar 2021 07:10:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/726639#M21797</guid>
      <dc:creator>kovuruy</dc:creator>
      <dc:date>2021-03-16T07:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/726747#M21801</link>
      <description>&lt;P&gt;I added a 10 user limit for demo purposes, you can modify it by removing "(obs=10)" to pull all of them.&amp;nbsp; In SAS Studio's output data pane there is an Export option. If file system access is available this could be exported to the file system of the server, or you could save it to the Content Server and download it to your desktop either in SAS Studio or from SASDrive.&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;/* Run that macro for each user ID. (obs=10 limits this to 10 responses for demo purposes.) */
data _null_ ;
	set users (obs=10);
	str=catt('%getuserinfo(id=',id,');');
	call execute(str);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="democars.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56001iD65732DC4B63B962/image-size/medium?v=v2&amp;amp;px=400" role="button" title="democars.png" alt="democars.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="democars4.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56005i7998237FF49EDDCE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="democars4.png" alt="democars4.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="democars3.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56007iFB9A7DD4B677995E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="democars3.png" alt="democars3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="democars2.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56003i4E88D7A2E9BFCD67/image-size/medium?v=v2&amp;amp;px=400" role="button" title="democars2.png" alt="democars2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 13:24:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/726747#M21801</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-03-16T13:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/726828#M21804</link>
      <description>Thank you very much. I will try the above options and keep you posted.&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Mar 2021 16:47:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/726828#M21804</guid>
      <dc:creator>kovuruy</dc:creator>
      <dc:date>2021-03-16T16:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727201#M21811</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: Program works with the option obs=10 and tables are generated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Further to update, I have removed the parameter obs=10 and have encountered below error messages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Log file exceeds 1000000 characters and gets below warning.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kovuruy_0-1616002738098.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56075i491851692FB1C190/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kovuruy_0-1616002738098.png" alt="kovuruy_0-1616002738098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. Program errors out with the below messages and ends in infinite loop.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kovuruy_1-1616002856434.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56076iAB00F8A833029D70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kovuruy_1-1616002856434.png" alt="kovuruy_1-1616002856434.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. And also there is no option displaying for us to download the dataset.&lt;/P&gt;&lt;P&gt;(Note: The dataset generated with the parameter obs=10)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kovuruy_2-1616002932736.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56077i97ACB760B83E8D34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kovuruy_2-1616002932736.png" alt="kovuruy_2-1616002932736.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kindly request you to suggest if I am missing anything here and looking forward for your help on this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 17:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727201#M21811</guid>
      <dc:creator>kovuruy</dc:creator>
      <dc:date>2021-03-17T17:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727204#M21812</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: Download file sorted. However, Program errors out and goes into infinite loop when I remove obs=10 option&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please request your help here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 17:55:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727204#M21812</guid>
      <dc:creator>kovuruy</dc:creator>
      <dc:date>2021-03-17T17:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727228#M21813</link>
      <description>&lt;P&gt;There are two loops in this program. The first builds the USERS table by looping through the identities/users "next" links until they no longer are present. This occurs regardless of whether obs is set to 10 or not so I don't think that loop is the problem.&lt;/P&gt;
&lt;P&gt;The other loop is for each observation in the USERS table, so if you had 2800 users it would loop 2800 times rather than infinitely, I could certainly see this code producing over 1 million characters though.&lt;/P&gt;
&lt;P&gt;The error messages provided:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ERROR: File USERINFO.EMAILADDRESSES.DATA does not exist
ERROR: Column title could not be found in the table/view identified...
ERROR: Unresolved reference to table/correlation name r&lt;/PRE&gt;
&lt;P&gt;Seem to be related to a problem pulling a valid response from the identities/users/&amp;lt;user_id&amp;gt; endpoint, though the log would have more detail on the PROC HTTP responses. That the error specifically mentions USERINFO.EMAILADDRESSES is not present could also mean some users do not have email addresses defined and my code is not correcting for that. You could remove the references to email and phone data sets to see if that has an impact. I.e. replace this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql noprint;
insert into work.userinfo select r.name,r.id,r.title,e.value as email,r.state,r.providerId,p.value as phone,r.creationTimeStamp as created, g.groups from userinfo.root as r,userinfo.emailaddresses as e,userinfo.phonenumbers as p,work.groups as g where e.ordinal_emailAddresses=1 and p.type="work";
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;With&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql noprint;
insert into work.userinfo select r.name,r.id,r.title,r.state,r.providerId,r.creationTimeStamp as created, g.groups from userinfo.root as r,work.groups as g ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Given 2800 users would result in 5,880 calls to the identities service, it could be overwhelming the services or LDAP with requests. It might be worth trying to add a sleep statement in there to slow it down. Maybe add this under each of the proc http calls in the getuserinfo macro:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
rc=sleep(1,1);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This would however result in the program pausing for 5600 seconds total, so 1.5 hours of waiting time. If it works you could try tuning down the units to improve performance, say pausing for 1/10th of a second:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
rc=sleep(1,.1);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Mar 2021 19:46:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727228#M21813</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-03-17T19:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727362#M21820</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: Thank you.&amp;nbsp; There is no luck yet &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; and have encountered different error message this time along with existing error message that we had where log file exceeding maximum size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see the below updated program that I tried to execute.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error Message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kovuruy_0-1616065258637.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56099i637FB7F1777E262A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kovuruy_0-1616065258637.png" alt="kovuruy_0-1616065258637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kovuruy_1-1616065331465.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56100i39EC16F3ADEEFC4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kovuruy_1-1616065331465.png" alt="kovuruy_1-1616065331465.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Updated program as per your recommendations and request help here if I missed any&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* --- Begin Edit --- */
%let baseurl=http://sample.sas.com;
 
/* Set a per response limit. */
%let limit=100;

/* Init some files for the PROC HTTP output. */
filename headout temp;
filename resp temp;
filename init temp;

/* Define a table to store the user IDs we find. */
data work.users;
    stop;
    length id $ 255;
run;

%macro getusers;
 
/* Use our new token to search the users. */
proc http url="&amp;amp;baseurl/identities/users?start=0%nrstr(&amp;amp;limit)=&amp;amp;limit" oauth_bearer=sas_services out=init headerout=headout HEADEROUT_OVERWRITE;
    headers "Accept"="application/json";
run;

data _null_;
rc=sleep(1,1);
run;
 
/* Read in the response. */
libname init;
libname init json fileref=init;
 
/* Put it into the dataset. */
proc sql;
    insert into work.users select id from init.items;
quit;
 
/* Read the links to see if a "next" link exists. If so, set it to a macro variable "next" */
data _null_;
    set init.links;
    if rel="next" then call execute('%let next=%nrstr('||href||')');
run;
 
 /* This loop will keep following the "next" link and appending records to the rules table until it has pulled all the rules defined. */
 
%do %while (%length(&amp;amp;next)&amp;gt;0);
 
/* Clear any existing users fileref and create one for this iteration. */
filename users;
filename users temp;
 
/* Call the "next" URL and output to the fileref.  */
proc http url="&amp;amp;baseurl&amp;amp;next" oauth_bearer=sas_services out=users headerout=headout HEADEROUT_OVERWRITE;
    headers "Accept"="application/json";
run;

data _null_;
rc=sleep(1,1);
run;

/* clear any existing users libref. */
libname users;
/* Read in the file ref. */
libname users json fileref=users;
 
%let next=;
/* If that output contains a next link, set it to the next variable, otherwise empty the next variable to end the do/while loop. */
data _null_;
    set users.links;
    if rel="next" then call execute('%let next=%nrstr('||href||')');
run;
 
/* Put the user IDs from this iteration into our data set. */
proc sql;
    insert into work.users select id from users.items;
quit;
 
%end;
%mend;
 
/* Build the table of user IDs.*/

%getusers;

/* Create an empty table with the values we want. */
data userinfo;
	stop;
	length name id title email state providerId created $ 255 groups $2048;
run;

/* Write a macro that can be run for a given user ID to write the user's information into the table. */
%macro getuserinfo(id=);
filename userinfo;
filename userinfo temp;
filename grpinfo;
filename grpinfo temp;

proc http url="&amp;amp;baseurl/identities/users/&amp;amp;id" oauth_bearer=sas_services out=userinfo headerout=headout HEADEROUT_OVERWRITE;
    headers "Accept"="application/json";
run;

data _null_;
rc=sleep(1,1);
run;

libname userinfo;
libname userinfo json fileref=userinfo;

proc http url="&amp;amp;baseurl/identities/users/&amp;amp;id/memberships" oauth_bearer=sas_services out=grpinfo headerout=headout HEADEROUT_OVERWRITE;
    headers "Accept"="application/json";
run;

data _null_;
rc=sleep(1,1);
run;

libname grpinfo;
libname grpinfo json fileref=grpinfo;

data groups;
	length groups $ 2048;
	keep groups;
	do until (last.id);
	set grpinfo.items end=eof;
	groups=catx(',',groups,id);
	if eof then output;
	end;
run;

proc sql noprint;
insert into work.userinfo select r.name,r.id,r.title,r.state,r.providerId,r.creationTimeStamp as created, g.groups from userinfo.root as r,work.groups as g ;
quit;

%mend;

/* Run that macro for each user ID. (obs=10 limits this to 10 responses for demo purposes.) */
data _null_ ;
	set users;
	str=catt('%getuserinfo(id=',id,');');
	call execute(str);
run;

 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 11:31:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727362#M21820</guid>
      <dc:creator>kovuruy</dc:creator>
      <dc:date>2021-03-18T11:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727387#M21822</link>
      <description>&lt;P&gt;Sorry, you would also need to modify the data step that creates work.userinfo to omit those values. i.e. &lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Create an empty table with the values we want. */
data userinfo;
stop;
length name id title email state providerId phone created $ 255 groups $2048;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Would now be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Create an empty table with the values we want. */
data userinfo;
stop;
length name id title state providerId created $ 255 groups $2048;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Mar 2021 12:55:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727387#M21822</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-03-18T12:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727438#M21830</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: Update - I still get the error message on the log file exceeding million characters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And also, Program errors out with the below message. Please request your help here if I am missed any.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kovuruy_0-1616078929772.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56107i1763861CA64F7E8E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kovuruy_0-1616078929772.png" alt="kovuruy_0-1616078929772.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Updated the program with creationtimestamp as there was an error with attribute: created - No luck yet&lt;/P&gt;&lt;P&gt;I believe, I am missing many things here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* --- Begin Edit --- */
%let baseurl=http://sample.sas.com;
 
/* Set a per response limit. */
%let limit=100;

/* Init some files for the PROC HTTP output. */
filename headout temp;
filename resp temp;
filename init temp;

/* Define a table to store the user IDs we find. */
data work.users;
    stop;
    length id $ 255;
run;

%macro getusers;
 
/* Use our new token to search the users. */
proc http url="&amp;amp;baseurl/identities/users?start=0%nrstr(&amp;amp;limit)=&amp;amp;limit" oauth_bearer=sas_services out=init headerout=headout HEADEROUT_OVERWRITE;
    headers "Accept"="application/json";
run;

data _null_;
rc=sleep(1,1);
run;
 
/* Read in the response. */
libname init;
libname init json fileref=init;
 
/* Put it into the dataset. */
proc sql;
    insert into work.users select id from init.items;
quit;
 
/* Read the links to see if a "next" link exists. If so, set it to a macro variable "next" */
data _null_;
    set init.links;
    if rel="next" then call execute('%let next=%nrstr('||href||')');
run;
 
 /* This loop will keep following the "next" link and appending records to the rules table until it has pulled all the rules defined. */
 
%do %while (%length(&amp;amp;next)&amp;gt;0);
 
/* Clear any existing users fileref and create one for this iteration. */
filename users;
filename users temp;
 
/* Call the "next" URL and output to the fileref.  */
proc http url="&amp;amp;baseurl&amp;amp;next" oauth_bearer=sas_services out=users headerout=headout HEADEROUT_OVERWRITE;
    headers "Accept"="application/json";
run;

data _null_;
rc=sleep(1,1);
run;

/* clear any existing users libref. */
libname users;
/* Read in the file ref. */
libname users json fileref=users;
 
%let next=;
/* If that output contains a next link, set it to the next variable, otherwise empty the next variable to end the do/while loop. */
data _null_;
    set users.links;
    if rel="next" then call execute('%let next=%nrstr('||href||')');
run;
 
/* Put the user IDs from this iteration into our data set. */
proc sql;
    insert into work.users select id from users.items;
quit;
 
%end;
%mend;
 
/* Build the table of user IDs.*/

%getusers;

/* Create an empty table with the values we want. */

data userinfo;
stop;
length name id title state providerId creationTimeStamp $ 255 groups $2048;
run;

/* Write a macro that can be run for a given user ID to write the user's information into the table. */
%macro getuserinfo(id=);
filename userinfo;
filename userinfo temp;
filename grpinfo;
filename grpinfo temp;

proc http url="&amp;amp;baseurl/identities/users/&amp;amp;id" oauth_bearer=sas_services out=userinfo headerout=headout HEADEROUT_OVERWRITE;
    headers "Accept"="application/json";
run;

data _null_;
rc=sleep(1,1);
run;

libname userinfo;
libname userinfo json fileref=userinfo;

proc http url="&amp;amp;baseurl/identities/users/&amp;amp;id/memberships" oauth_bearer=sas_services out=grpinfo headerout=headout HEADEROUT_OVERWRITE;
    headers "Accept"="application/json";
run;

data _null_;
rc=sleep(1,1);
run;

libname grpinfo;
libname grpinfo json fileref=grpinfo;

data groups;
	length groups $ 2048;
	keep groups;
	do until (last.id);
	set grpinfo.items end=eof;
	groups=catx(',',groups,id);
	if eof then output;
	end;
run;

proc sql noprint;
insert into work.userinfo select r.name,r.id,r.title,r.state,r.providerId,r.creationTimeStamp as created, g.groups from userinfo.root as r,work.groups as g ;
quit;

%mend;

/* Run that macro for each user ID. (obs=10 limits this to 10 responses for demo purposes.) */
data _null_ ;
	set users;
	str=catt('%getuserinfo(id=',id,');');
	call execute(str);
run;

 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kovuruy_1-1616080204768.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56108i0D0B3CD8396EFE6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kovuruy_1-1616080204768.png" alt="kovuruy_1-1616080204768.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After above modified version, I am getting below error message&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kovuruy_2-1616080361965.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56109i92C9A9E1187C44B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kovuruy_2-1616080361965.png" alt="kovuruy_2-1616080361965.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please request your help when you get a chance to look into this.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 15:13:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727438#M21830</guid>
      <dc:creator>kovuruy</dc:creator>
      <dc:date>2021-03-18T15:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727441#M21832</link>
      <description>Looks like it also doesn't like the "title" column, so you might want to try removing that too from the procsql and data steps.</description>
      <pubDate>Thu, 18 Mar 2021 15:21:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727441#M21832</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-03-18T15:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727473#M21833</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: Further to update, Program execution does not go ax expected as I have encountered earlier message where log file exceeds 1000000 characters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried other to keep obs=5000 and this executed for sometime and session was killed in SAS Studio automatically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I am trying with obs=3000 and will keep you posted on results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 16:55:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727473#M21833</guid>
      <dc:creator>kovuruy</dc:creator>
      <dc:date>2021-03-18T16:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727480#M21835</link>
      <description>With the addition of the sleep delays, session timeout could be another issue you are encountering. You might want to pull those out and see if you still encounter problems with the problem columns removed, or limit your returns to below what would produce an hour long execution (1800 entries).</description>
      <pubDate>Thu, 18 Mar 2021 17:13:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727480#M21835</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-03-18T17:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727483#M21836</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp; Could you please help if we have any setting to increase session time-out in SAS Studio 5.2&lt;BR /&gt;&lt;BR /&gt;And also, with restriction on no of records to fetch, do you think we do not get complete usage from SAS Studio&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 17:30:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727483#M21836</guid>
      <dc:creator>kovuruy</dc:creator>
      <dc:date>2021-03-18T17:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727493#M21837</link>
      <description>Set Time-out Interval for SAS Viya Web Applications&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/?cdcId=calcdc&amp;amp;cdcVersion=3.5&amp;amp;docsetId=calconfig&amp;amp;docsetTarget=n03000sasconfiguration0admin.htm&amp;amp;locale=en#n03020sasconfiguration0admin" target="_blank"&gt;https://go.documentation.sas.com/?cdcId=calcdc&amp;amp;cdcVersion=3.5&amp;amp;docsetId=calconfig&amp;amp;docsetTarget=n03000sasconfiguration0admin.htm&amp;amp;locale=en#n03020sasconfiguration0admin&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'm not sure I understand your second question. While I can't confirm, I suspect the errors you are encountering are because this code assumes there will always be a title, email, phone number present in the details, which may not be the case in your environment. I hit the million line message when I run the program in my environment with only 247 users, but the data set is still created.</description>
      <pubDate>Thu, 18 Mar 2021 17:46:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727493#M21837</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-03-18T17:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727806#M21844</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: I will try the above options and keep you posted with updates.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 16:47:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/727806#M21844</guid>
      <dc:creator>kovuruy</dc:creator>
      <dc:date>2021-03-19T16:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/832982#M25038</link>
      <description>&lt;P&gt;To get a list of Viya users:&amp;nbsp;&amp;nbsp;&lt;A href="https://core.sasjs.io/mv__getusers_8sas.html" target="_blank"&gt;https://core.sasjs.io/mv__getusers_8sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Viya groups:&amp;nbsp;&amp;nbsp;&lt;A href="https://core.sasjs.io/mv__getgroups_8sas.html" target="_blank"&gt;https://core.sasjs.io/mv__getgroups_8sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Group Members:&amp;nbsp;&amp;nbsp;&lt;A href="https://core.sasjs.io/mv__getgroupmembers_8sas.html" target="_blank"&gt;https://core.sasjs.io/mv__getgroupmembers_8sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Member Groups:&amp;nbsp;&lt;A href="https://core.sasjs.io/mv__getusergroups_8sas.html" target="_blank"&gt;https://core.sasjs.io/mv__getusergroups_8sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 19:19:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/832982#M25038</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2022-09-12T19:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/865209#M26272</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;Thank you for your post. Is it possible to create an overview for custom groups with your SAS code ?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 13:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/865209#M26272</guid>
      <dc:creator>sergie89</dc:creator>
      <dc:date>2023-03-20T13:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VIYA -  Fetching List of Users/Groups/Creation Date</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/865277#M26275</link>
      <description>The code in this thread does not make a distinction between custom groups and those retrieved from LDAP, but you could probably modify it to only add groups that have a providerId of "local" in the groups data step.</description>
      <pubDate>Mon, 20 Mar 2023 17:32:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-VIYA-Fetching-List-of-Users-Groups-Creation-Date/m-p/865277#M26275</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-03-20T17:32:25Z</dc:date>
    </item>
  </channel>
</rss>

