Returns a userid according to session context. More...
In a workspace session, a user is generally represented by
SYS_COMPUTE_SESSION_OWNER if it exists.
In a Stored Process session,
&sysuserid resolves to a system account (default=sassrv) and instead there are several metadata username variables to choose from (_metauser, _metaperson ,_username, _secureusername). The OS account is represented by
_secureusername whilst the metadata account is under
%let user= %mf_getUser(); %put &user;
|type||- do not use, may be deprecated in a future release|
Definition in file mf_getuser.sas.