V$RO_USER_ACCOUNT
is populated only on Oracle databases that are open in read-only mode. When a database is read-only, security data cannot be stored in normal catalogue tables. Instead, the security data is stored in an in-memory table that is queried through this view.
In an Oracle Data Guard environment, some of the security information for user accounts on the standby is inherited from the primary server. For example, if the account is locked out unlimited on the primary, then it will be locked on the standby database(s). The information stored on the standby is volatile information that user actions on the standby database(s) can affect, such as the number of failed logins, and the time the account was locked on the standby due to failed access attempts. Note that failed login attempts on standbys do not affect the account status on primaries.
If this view is queried from the root in a multitenent container database (CDB), then only common users and the SYS
user are returned.
If this view is queried from a pluggable database (PDB), only rows that pertain to the current PDB are returned.
Column | Datatype | Description |
---|---|---|
|
|
User ID number |
|
|
Indicates whether the password has expired ( |
|
|
Indicates whether the account is in grace ( |
|
|
Indicates whether the account is locked ( |
|
|
Indicates whether the account is locked for an unlimited time ( |
|
|
The number of failed login attempts. The count is not cumulative; it is reset upon successful logon to the account |
|
|
The expiration time after grace |
|
|
The time the account was locked out |
|
|
The ID of the container where the failed login occurred. For users that are not common users, the For common users, the The login attempts that occurred on a PDB are not displayed when you query The failed login attempts of common users (and of the In a non-CDB, the value is always |