Chapter Contents

Previous

Next
SYSUSERID

SYSUSERID



Contains the userid or login of the current SAS process

Type: Automatic macro variable (read only)


Example
Using SYSUSERID to Display the Userid for the Current SAS Process


Example

Example 1: Using SYSUSERID to Display the Userid for the Current SAS Process

The following code, when submitted from the current SAS process, writes the userid or login for the current SAS process to the SAS log:

%put &sysuserid;

A userid, such as the following, is written to the SAS log:

MyUserid


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.