| Automatic Macro Variables |
| Type: | Automatic macro variable (read only) |
| Example | |
| Using SYSUSERID to Display the User ID for the Current SAS Process | |
| Example |
The following code, when submitted from the current SAS process, writes the user ID or login for the current SAS process to the SAS log:
%put &sysuserid;
A user ID, such as the following, is written to the SAS log:
MyUserid
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.