You are here: LANSA for i User Guide > 2. Fields > 2.3 Create New Field Definitions > USCR Examples
USCR Examples

The current user (USCR) is the user name used to start the LANSA application. Refer to Output Stamping Attributes for further information.

USRC showing the users running locally with *LONG_USER_AUDIT off:

Start Form As

John

Windows log in

MYDOMAIN\John

Connect As

N/A

Connect To

N/A

Value

John

 

 

Start Form As

Mary

Windows log in

MYDOMAIN\John

Connect As

N/A

Connect To

N/A

Value

Mary

 

USRC show the users running locally with *LONG_USER_AUDIT on:

Note that the value will be truncated if the USRC field is too short.

Start Form As

John

Windows log in

MYDOMAIN\John

Connect As

N/A

Connect To

N/A

Value

John@MYDOMAIN

 

 

Start Form As

Mary

Windows log in

MYDOMAIN\John

Connect As

N/A

Connect To

N/A

Value

John@MYDOMAIN

 

USRC if running via LANSA SuperServer:

Start Form As

Mary

Windows login

MYDOMAIN\John

Connect As

David

Connect To

IBM i

Value

David

 

 

Start Form As

John

Windows login

MYDOMAIN\John

Connect As

David

Connect To

IBM i

Value

David