Set mode for current user in repository.
Usage
zowe caview set user mode <repositoryId> <mode> [options]
Positional Arguments
-
repositoryId
(number)
-
mode
(string)
- User mode.
Must match regular expression: ^(ALL|SAR|SARO|EXP|EXPO)$
Options
-
--output-format
| --output
(string)
-
Output format. This option is ignored if '--response-format-json' is specified.
Default value: tabular
Allowed values: ^tabular$, ^csv$, ^json$, ^xml$
-
--output-header
| --header
(boolean)
-
--output-field
| -f
(array)
-
Field to include in the output. Multiple fields can be specified.
Fields appear in the order you specify.
Allowed values: Mode,DistId,ModeAccess,DistMask,Banner,Language,MasterAuthority,Printer,UserId
Default value: Mode,DistId,ModeAccess,DistMask
Profile Options
Base Connection Options
-
--host
| -H
(string)
- Host name of service on the mainframe.
-
--port
| -P
(number)
- Port number of service on the mainframe.
-
--user
| -u
(string)
- User name to authenticate to service on the mainframe.
-
--password
| --pass
| --pw
(string)
- Password to authenticate to service on the mainframe.
-
--reject-unauthorized
| --ru
(boolean)
-
--token-type
| --tt
(string)
- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
-
--token-value
| --tv
(string)
- The value of the token to pass to the API.
-
--cert-file
(local file path)
- The file path to a certificate file to use for authentication
-
--cert-key-file
(local file path)
- The file path to a certificate key file to use for authentication