@sasjs/core 4.30.0 → 4.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server/ms_getusers.sas +13 -0
package/package.json
CHANGED
package/server/ms_getusers.sas
CHANGED
|
@@ -60,6 +60,19 @@
|
|
|
60
60
|
%let fref1=%mf_getuniquefileref();
|
|
61
61
|
%let libref=%mf_getuniquelibref();
|
|
62
62
|
|
|
63
|
+
%if %sysget(MODE)=desktop %then %do;
|
|
64
|
+
/* users api does not exist in desktop mode */
|
|
65
|
+
data &outds;
|
|
66
|
+
length DISPLAYNAME $60 USERNAME:$30 ID 8;
|
|
67
|
+
USERNAME="&sysuserid";
|
|
68
|
+
DISPLAYNAME="&sysuserid (desktop mode)";
|
|
69
|
+
ID=1;
|
|
70
|
+
output;
|
|
71
|
+
stop;
|
|
72
|
+
run;
|
|
73
|
+
%return;
|
|
74
|
+
%end;
|
|
75
|
+
|
|
63
76
|
/* avoid sending bom marker to API */
|
|
64
77
|
%let optval=%sysfunc(getoption(bomfile));
|
|
65
78
|
options nobomfile;
|