18.4.1 User ID and Password Default Values

Notes:

The system variable *USER is derived from USER.

Database stamping attributes are derived from USER.

PSUS, ASUS, PSPW and ASPW will be automatically converted to uppercase when attempting to connect to an IBM i server system. For non-IBM i server systems their case is unchanged.

When PSTC=Y, that is you have directed LANSA to use Windows Authentication (also called Trusted Connections), LANSA will firstly attempt to obtain the value of USER by looking up the Windows authenticated user in file LX_FKU. If one is found then USER is assigned the value of the associated PC User ID. Any existing value of USER is overwritten. If one is not found, then the defaulting logic below is used. This lookup always occurs when PSTC=Y. That is, it's not just performed when USER is unassigned.

User Profiles

Order of
Defaulting

X_RUN
Param.

Description

Always
Uppercase

Defaulting Order

1

USER

System User

Yes

1. DBUS
2. PSUS (upper case)
3. ASUS (upper case)

2

DBUS

Database User

Yes

1. USER
2. PSUS (upper case)
3. ASUS (upper case)

3

PSUS

Primary Server User

No

1. USER (exact case)
2. ASUS
3. DBUS (exact case)

4

ASUS

Application Server User

No

1. USER (exact case)
2. PSUS
3. DBUS (exact case)

 

Passwords

Order of
Defaulting

X_RUN
Param.

Description

Always
Uppercase

Defaulting Order

1

PSWD

Database Password

Yes

1. PSPW (upper case)
2. ASPW (upper case)

2

PSPW

Primary Server Password

No

1. PSWD (exact case)
2. ASPW

3

ASPW

Application Server Password

No

1. PSWD (exact case)
2. PSPW