Set mode for current user in repository.
Usage
zowe omview 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.
Default value: Mode,DistId,ModeAccess,DistMask
Allowed values: Mode, DistId, ModeAccess, DistMask, Banner, Language, MasterAuthority, Printer, UserId
OM Web Viewer Connection Options
Profile Options
-
--omview-profile
| --omview-p
(string)
- The name of a (omview) profile to load for this command execution.
-
--caview-profile
| --caview-p
(string)
- The name of a (caview) profile to load for this command execution.
-
--base-profile
| --base-p
(string)
- The name of a (base) profile to load for this command execution.
Base Connection Options
-
--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.
Note: The CLI does not support certificate files that require a password. For more information, search Troubleshooting PEM Certificates in Zowe Docs.
-
--cert-key-file
(local file path)
- The file path to a certificate key file to use for authentication