Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: HP-UX SNAplus2 Administration Command Reference > Chapter 2 Commands (activate_session to initialize_session_limit)

delete_userid_password

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The delete_userid_password command deletes a password associated with a user ID, or deletes profiles for a user ID and password.

Supplied Parameters

Parameter name             Type        Length   Default
[delete_userid_password]
delete_type constant REMOVE_USER
user_id character 10
profile character 10 (null string)

(When you are deleting profiles without deleting the user, you can specify up to ten profile parameters.)

Supplied parameters are:

delete_type

Specifies the type of information to be deleted. Possible values are:

REMOVE_USER

Delete the user, password, and all associated profiles.

REMOVE_PROFILES

Delete only the specified profiles.

user_id

User identifier. This ID is a type-AE character string.

profile

Profiles associated with the user. Each profile is a type-AE character string.

Returned Parameters

No parameters are returned by SNAplus2 when this command executes successfully.

Error Return Codes

If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.

Parameter Check

If the command does not execute because of a parameter error, SNAplus2 returns the following parameters:

primary_rc

PARAMETER_CHECK

secondary_rc

Possible values are:

NO_PROFILES

The delete_type parameter was set to REMOVE_PROFILES, but no profiles were specified.

UNKNOWN_USER

The user_id parameter did not match a defined user ID.

INVALID_UPDATE_TYPE

The delete_type parameter was set to a value that was not valid.

State Check

No specific state errors, other than those listed in Appendix A “Common Return Codes from snapadmin Commands” occur for this command.

Other Conditions

Appendix A “Common Return Codes from snapadmin Commands” lists combinations of primary and secondary return codes that are common to all commands.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2001 Hewlett-Packard Development Company, L.P.