PROTECT
- Last UpdatedJan 03, 2023
- 1 minute read
Function
The PROTECT command allows you to change your access rights to DBs.
Description
You can temporarily change your access rights to DBs. You can only reduce your access rights from the set state, never increase them. The change will only apply in the current session.
You can only change access rights to the current MDB.
Examples
An example of using the PROTECT command is shown below:
User SAMPLE enters Plant and selects the MDB to which he has Read/Write access. This MDB contains two current DBs named PIPING/AREA-A and PIPING/AREA-B. The STATUS command will list the DBs as follows:
DB TYPE MODE
PIPING/AREA-A DESI RW
PIPING/AREA-B DESI RW
SAMPLE changes his access level to the DB /AREA-B to Read-only status by the command:
PROT PIPING/AREA-B READ
The STATUS command will now list the DBs as follows:
DB TYPE MODE
PIPING/AREA-A DESI RW
PIPING/AREA-B DESI R
Command Syntax
.--------------<-----------.
/ |
>--- PROtect ----*--- dbname ---+--- RW ------|
| |
|--- Read ----|
| |
‘--- None ----+--->