BookmarkSubscribeRSS Feed
gwootton
SAS Super FREQ
Set Time-out Interval for SAS Viya Web Applications
https://go.documentation.sas.com/?cdcId=calcdc&cdcVersion=3.5&docsetId=calconfig&docsetTarget=n03000...

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.
--
Greg Wootton | Principal Systems Technical Support Engineer
kovuruy
Calcite | Level 5

Thank you @gwootton : I will try the above options and keep you posted with updates. 

sergie89
Quartz | Level 8

@gwoottonThank you for your post. Is it possible to create an overview for custom groups with your SAS code ?

gwootton
SAS Super FREQ
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.
--
Greg Wootton | Principal Systems Technical Support Engineer
AllanBowe
Barite | Level 11

To get a list of Viya users:  https://core.sasjs.io/mv__getusers_8sas.html

 

Viya groups:  https://core.sasjs.io/mv__getgroups_8sas.html

 

Group Members:  https://core.sasjs.io/mv__getgroupmembers_8sas.html

 

Member Groups: https://core.sasjs.io/mv__getusergroups_8sas.html

 

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
sergie89
Quartz | Level 8

@AllanBowe 

 

Hi Allan,

 

I've tried to run your macro's for getting the right information. In particular the macro "%mv_getgroupmembers(All Users)". But I got the following error:

 

ERROR: A character operand was found in the %EVAL function or %IF condition where a numeric operand is required. The condition was:
&_studiosource =
ERROR: The macro STUDIO_HIDE_WRAPPER will stop executing.
AllanBowe
Barite | Level 11
Hi @sergie89 - thanks for reporting.

I don't have access to a Viya environment right now. Are you able to raise an issue on the github directly, and we'll get it sorted as soon as we do?

https://github.com/sasjs/core/issues
/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
AllanBowe
Barite | Level 11

to close this one off - this was the issue:  https://github.com/sasjs/core/issues/331

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 22 replies
  • 7742 views
  • 7 likes
  • 4 in conversation