HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DELETE_EMULATOR_USER
/* user? */
unsigned char session_names[10][8]; /* names of sessions to be */
/* deleted */
} DELETE_EMULATOR_USER;
3.60.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DELETE_EMULATOR_USER
user_name
The name of the user. This is an ASCII string of 1–32 characters, padded on the right with spaces if the
name is shorter than 32 characters, which must match a previously-defined emulator user name.
num_sessions
The number of sessions to be deleted, as follows:
• To delete one or more of the user’s sessions but leave other sessions configured, specify the number of
sessions that are being deleted. Each of these must be defined by its session name, as described below.
• To delete all sessions, or to delete the user, specify zero in this parameter and do not include any session
names. Specify the type of deletion required in the
delete_options parameter below.
delete_options
If the num_sessions parameter (see above) is nonzero, this parameter is ignored. If num_sessions is zero,
specify one of the following values:
AP_3270_SESSION
Delete all 3270 sessions but leave any 5250 sessions unchanged.
AP_5250_SESSION
Delete all 5250 sessions but leave any 3270 sessions unchanged.
AP_ALL_SESSIONS
Delete all sessions of both types but leave the user configured.
AP_DELETE_USER
Delete the user and all the user’s sessions.
For each session to be deleted, up to the number specified in num_sessions, the following parameter is required:
delete_session_data.session_name
The long name of the session. This is an ASCII string of 1–8 characters, which must match a session
name defined for this user. This parameter is ignored unless the delete_options parameter is set to
AP_DELETE_USER.
3.60.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
288