Login Parameters With %N Variables - Novell NETWARE 6-DOCUMENTATION Manual

Table of Contents

Advertisement

Category
DOS
Environment
Miscellaneous
Object Properties

Login Parameters with %n Variables

Identifier Variable
<variable>
ACCESS_SERVER
ERROR_LEVEL
%n
property_name
Some variables in a login script can be indicated by a percent sign (%)
followed by a number from 0 through 9.
NOTE:
Only four variables (%2 through %5) can be changed in the login screen.
When a user logs in, additional parameters can be entered that the login utility
passes to the login script. The login utility then substitutes these parameters
for any %n variables in the login script. These variables are replaced in order
by the parameters the user entered when logging in.
The %0 variable is replaced by the name of the NetWare server entered in the
login dialog box, and %1 is replaced by the user's fully distinguished login
Function
Any DOS environment variable can be used in
angle brackets. To use a DOS environment
variable in MAP, COMSPEC, and FIRE
PHASERS commands, add a percent sign (%) in
front of the variable.
Shows whether the access server is functional
(TRUE = functional; FALSE = nonfunctional)
An error number (0 = no errors)
Replaced by parameters the user enters at the
command line with the login utility
See
"Login Parameters with %n Variables" on
page
65.
You can use property values of NDS objects as
variables. Use the property values just as you do
any other identifier variable. If the property value
includes a space, enclose the name in quotation
marks.
To use a property name with a space within a
WRITE statement, you must place it at the end of
the quoted string:
WRITE"Given name=%GIVEN_NAME"
IF"MESSAGE SERVER"="MS1" THEN MAP INS
S16:=MS1\SYS:EMAIL END
Login Script Commands and Variables
65

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETWARE 6-DOCUMENTATION and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Netware 6

Table of Contents