HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_EMULATOR_USER
Chapter 3236
The user is restricted to the default
style file specified by the
style_file
parameter, and cannot create or
modify style files.
def_data.user_is_group
Specifies whether the
user_name
parameter identifies
a user name or a group name. Possible values are:
AP_YES
The
user_name
parameter identifies
a group name. Any user in this group
will use this emulator user record
unless there is an explicit record for
the user's user name.
AP_NO
The
user_name
parameter identifies
a user name.
For each session being defined by this verb, up to the number specified in
num_sessions
, a session_def_data structure is required with the
following information:
session_def_data.session_name
A name identifying the session. This is an 8-byte ASCII
string, padded on the right with spaces if the name is
shorter than 8 characters. If the name matches an
existing session name defined for this user, the
information for that session is replaced; otherwise a
new session is added.
To define 3270 sessions that are initially displayed in
the 3270 emulation program's control interface, specify
a name in the range SESS0001-SESS0010. These names
correspond to the session numbers 1-10 in the control
interface; that is, if you use the names SESS0002,
SESS0003, and SESS0005, the control interface will
display session numbers 2, 3, and 5 using the
information defined for these names. (The names
SESS0001-SESS0010 are not displayed in the control
interface; they are replaced by the long names defined
for these sessions in the 3270 style file.)