HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DELETE_USERID_PASSWORD
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.80.5 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.81 DELETE_USERID_PASSWORD
DELETE_USERID_PASSWORD deletes a password associated with a user ID, or removes proles for a user ID
and password.
3.81.1 VCB Structure
typedef struct delete_userid_password
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
AP_UINT16 delete_type; /* type of delete */
unsigned char user_id[10]; /* user id */
USERID_PASSWORD_CHARS password_chars; /* password characteristics */
} DELETE_USERID_PASSWORD;
typedef struct userid_password_chars
{
unsigned char description[32]; /* resource description */
unsigned char reserv2[16]; /* reserved */
AP_UINT16 profile_count; /* number of profiles */
AP_UINT16 reserv1; /* reserved */
unsigned char password[10]; /* password */
unsigned char profiles[10][10]; /* profiles */
} USERID_PASSWORD_CHARS;
3.81.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DELETE_USERID_PASSWORD
delete_type
Species how this verb is being used. Possible values are:
AP_REMOVE_USER
Delete the user, password, and all associated proles.
AP_REMOVE_PROFILES
Delete the specied proles.
318