Use
Option when
Calling the Database Manager CLIYou store user data in the XUSER program.
You can store this user data as follows:
See also:
User Manual: SAP DBStoring User Data for a Particular Combination of Database Instance and Server
Prerequisites
You use the options
-d (Name of the Database Instance) and, optionally, -n (Name of the Database Server) at the same time.You authorize yourself for the XUSER program with the currently stored user or the user under the XUSER key
DEFAULT.Syntax
-us <new_userid>,<new_password>
You authorize yourself with the user currently stored in the XUSER program
-d <database_instance> [-n <server_node>] [-u <userid>,<password>] -us <new_userid>,<new_password>
or
You authorize yourself with the operator under the XUSER key
DEFAULT-d <database_instance> [-n <server_node>] [-ux <default_userid>,<password>] -us <new_userid>,<new_password>
Storing as an XUSER key
Prerequisites
You use the option
-uk (XUSER key) at the same time.You authorize yourself for the XUSER program with the currently stored user or the user under the XUSER key
DEFAULT.Syntax
-us <new_userid>,<new_password>
You authorize yourself with the user currently stored in the XUSER program.
-uk <userkey> [-u <userid>,<password>] -us <new_userid>,<new_password>
or
You authorize yourself with the operator under the XUSER key
DEFAULT.-uk <user_key> [-ux <default_userid>,<password>] -us <new_userid>,<new_password>