UserSummary¶
- class oci.data_safe.models.UserSummary(**kwargs)¶
Bases:
objectThe summary of information about the database user. It includes details such as user type, account status, last login time, user creation time, authentication type, user profile, and time and date of the last password change and the date and time of the expiration of the password. It also contains the user category derived from these user details, as well as granted privileges.
Attributes:
A constant which can be used with the account_status property of a UserSummary.
A constant which can be used with the account_status property of a UserSummary.
A constant which can be used with the account_status property of a UserSummary.
A constant which can be used with the account_status property of a UserSummary.
A constant which can be used with the account_status property of a UserSummary.
A constant which can be used with the account_status property of a UserSummary.
A constant which can be used with the account_status property of a UserSummary.
A constant which can be used with the account_status property of a UserSummary.
A constant which can be used with the account_status property of a UserSummary.
A constant which can be used with the account_status property of a UserSummary.
A constant which can be used with the account_status property of a UserSummary.
A constant which can be used with the admin_roles property of a UserSummary.
A constant which can be used with the admin_roles property of a UserSummary.
A constant which can be used with the admin_roles property of a UserSummary.
A constant which can be used with the admin_roles property of a UserSummary.
A constant which can be used with the authentication_type property of a UserSummary.
A constant which can be used with the authentication_type property of a UserSummary.
A constant which can be used with the user_category property of a UserSummary.
A constant which can be used with the user_category property of a UserSummary.
A constant which can be used with the user_category property of a UserSummary.
A constant which can be used with the user_category property of a UserSummary.
A constant which can be used with the user_types property of a UserSummary.
A constant which can be used with the user_types property of a UserSummary.
A constant which can be used with the user_types property of a UserSummary.
A constant which can be used with the user_types property of a UserSummary.
A constant which can be used with the user_types property of a UserSummary.
Gets the account_status of this UserSummary.
Gets the admin_roles of this UserSummary.
Gets the are_all_schemas_accessible of this UserSummary.
Gets the authentication_type of this UserSummary.
[Required] Gets the key of this UserSummary.
Gets the schema_list of this UserSummary.
[Required] Gets the target_id of this UserSummary.
Gets the time_last_login of this UserSummary.
Gets the time_password_changed of this UserSummary.
Gets the time_password_expiry of this UserSummary.
Gets the time_user_created of this UserSummary.
Gets the user_category of this UserSummary.
[Required] Gets the user_name of this UserSummary.
Gets the user_profile of this UserSummary.
Gets the user_types of this UserSummary.
Methods:
__init__(**kwargs)Initializes a new UserSummary object with values from keyword arguments.
- ACCOUNT_STATUS_EXPIRED = 'EXPIRED'¶
A constant which can be used with the account_status property of a UserSummary. This constant has a value of “EXPIRED”
- ACCOUNT_STATUS_EXPIRED_AND_IN_ROLLOVER = 'EXPIRED_AND_IN_ROLLOVER'¶
A constant which can be used with the account_status property of a UserSummary. This constant has a value of “EXPIRED_AND_IN_ROLLOVER”
- ACCOUNT_STATUS_EXPIRED_AND_LOCKED = 'EXPIRED_AND_LOCKED'¶
A constant which can be used with the account_status property of a UserSummary. This constant has a value of “EXPIRED_AND_LOCKED”
- ACCOUNT_STATUS_EXPIRED_AND_LOCKED_AND_IN_ROLLOVER = 'EXPIRED_AND_LOCKED_AND_IN_ROLLOVER'¶
A constant which can be used with the account_status property of a UserSummary. This constant has a value of “EXPIRED_AND_LOCKED_AND_IN_ROLLOVER”
- ACCOUNT_STATUS_EXPIRED_AND_LOCKED_TIMED_AND_IN_ROL = 'EXPIRED_AND_LOCKED_TIMED_AND_IN_ROL'¶
A constant which can be used with the account_status property of a UserSummary. This constant has a value of “EXPIRED_AND_LOCKED_TIMED_AND_IN_ROL”
- ACCOUNT_STATUS_LOCKED = 'LOCKED'¶
A constant which can be used with the account_status property of a UserSummary. This constant has a value of “LOCKED”
- ACCOUNT_STATUS_LOCKED_AND_IN_ROLLOVER = 'LOCKED_AND_IN_ROLLOVER'¶
A constant which can be used with the account_status property of a UserSummary. This constant has a value of “LOCKED_AND_IN_ROLLOVER”
- ACCOUNT_STATUS_LOCKED_TIMED_AND_IN_ROLLOVER = 'LOCKED_TIMED_AND_IN_ROLLOVER'¶
A constant which can be used with the account_status property of a UserSummary. This constant has a value of “LOCKED_TIMED_AND_IN_ROLLOVER”
- ACCOUNT_STATUS_NONE = 'NONE'¶
A constant which can be used with the account_status property of a UserSummary. This constant has a value of “NONE”
- ACCOUNT_STATUS_OPEN = 'OPEN'¶
A constant which can be used with the account_status property of a UserSummary. This constant has a value of “OPEN”
- ACCOUNT_STATUS_OPEN_AND_IN_ROLLOVER = 'OPEN_AND_IN_ROLLOVER'¶
A constant which can be used with the account_status property of a UserSummary. This constant has a value of “OPEN_AND_IN_ROLLOVER”
- ADMIN_ROLES_AUDIT_ADMIN = 'AUDIT_ADMIN'¶
A constant which can be used with the admin_roles property of a UserSummary. This constant has a value of “AUDIT_ADMIN”
- ADMIN_ROLES_DBA = 'DBA'¶
A constant which can be used with the admin_roles property of a UserSummary. This constant has a value of “DBA”
- ADMIN_ROLES_DV_ADMIN = 'DV_ADMIN'¶
A constant which can be used with the admin_roles property of a UserSummary. This constant has a value of “DV_ADMIN”
- ADMIN_ROLES_PDB_DBA = 'PDB_DBA'¶
A constant which can be used with the admin_roles property of a UserSummary. This constant has a value of “PDB_DBA”
- AUTHENTICATION_TYPE_NONE = 'NONE'¶
A constant which can be used with the authentication_type property of a UserSummary. This constant has a value of “NONE”
- AUTHENTICATION_TYPE_PASSWORD = 'PASSWORD'¶
A constant which can be used with the authentication_type property of a UserSummary. This constant has a value of “PASSWORD”
- USER_CATEGORY_CRITICAL = 'CRITICAL'¶
A constant which can be used with the user_category property of a UserSummary. This constant has a value of “CRITICAL”
- USER_CATEGORY_HIGH = 'HIGH'¶
A constant which can be used with the user_category property of a UserSummary. This constant has a value of “HIGH”
- USER_CATEGORY_LOW = 'LOW'¶
A constant which can be used with the user_category property of a UserSummary. This constant has a value of “LOW”
- USER_CATEGORY_MEDIUM = 'MEDIUM'¶
A constant which can be used with the user_category property of a UserSummary. This constant has a value of “MEDIUM”
- USER_TYPES_ADMIN_PRIVILEGED = 'ADMIN_PRIVILEGED'¶
A constant which can be used with the user_types property of a UserSummary. This constant has a value of “ADMIN_PRIVILEGED”
- USER_TYPES_APPLICATION = 'APPLICATION'¶
A constant which can be used with the user_types property of a UserSummary. This constant has a value of “APPLICATION”
- USER_TYPES_NON_PRIVILEGED = 'NON_PRIVILEGED'¶
A constant which can be used with the user_types property of a UserSummary. This constant has a value of “NON_PRIVILEGED”
- USER_TYPES_PRIVILEGED = 'PRIVILEGED'¶
A constant which can be used with the user_types property of a UserSummary. This constant has a value of “PRIVILEGED”
- USER_TYPES_SCHEMA = 'SCHEMA'¶
A constant which can be used with the user_types property of a UserSummary. This constant has a value of “SCHEMA”
- __init__(**kwargs)¶
Initializes a new UserSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
key (str) – The value to assign to the key property of this UserSummary.
user_name (str) – The value to assign to the user_name property of this UserSummary.
user_category (str) – The value to assign to the user_category property of this UserSummary. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
account_status (str) – The value to assign to the account_status property of this UserSummary. Allowed values for this property are: “OPEN”, “LOCKED”, “EXPIRED”, “EXPIRED_AND_LOCKED”, “OPEN_AND_IN_ROLLOVER”, “EXPIRED_AND_IN_ROLLOVER”, “LOCKED_AND_IN_ROLLOVER”, “EXPIRED_AND_LOCKED_AND_IN_ROLLOVER”, “LOCKED_TIMED_AND_IN_ROLLOVER”, “EXPIRED_AND_LOCKED_TIMED_AND_IN_ROL”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
target_id (str) – The value to assign to the target_id property of this UserSummary.
time_last_login (datetime) – The value to assign to the time_last_login property of this UserSummary.
time_user_created (datetime) – The value to assign to the time_user_created property of this UserSummary.
authentication_type (str) – The value to assign to the authentication_type property of this UserSummary. Allowed values for this property are: “PASSWORD”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
user_profile (str) – The value to assign to the user_profile property of this UserSummary.
time_password_changed (datetime) – The value to assign to the time_password_changed property of this UserSummary.
time_password_expiry (datetime) – The value to assign to the time_password_expiry property of this UserSummary.
user_types (list[str]) – The value to assign to the user_types property of this UserSummary. Allowed values for items in this list are: “ADMIN_PRIVILEGED”, “APPLICATION”, “PRIVILEGED”, “SCHEMA”, “NON_PRIVILEGED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
admin_roles (list[str]) – The value to assign to the admin_roles property of this UserSummary. Allowed values for items in this list are: “PDB_DBA”, “DBA”, “DV_ADMIN”, “AUDIT_ADMIN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
are_all_schemas_accessible (bool) – The value to assign to the are_all_schemas_accessible property of this UserSummary.
schema_list (list[str]) – The value to assign to the schema_list property of this UserSummary.
- property account_status¶
Gets the account_status of this UserSummary. The status of the user account.
Allowed values for this property are: “OPEN”, “LOCKED”, “EXPIRED”, “EXPIRED_AND_LOCKED”, “OPEN_AND_IN_ROLLOVER”, “EXPIRED_AND_IN_ROLLOVER”, “LOCKED_AND_IN_ROLLOVER”, “EXPIRED_AND_LOCKED_AND_IN_ROLLOVER”, “LOCKED_TIMED_AND_IN_ROLLOVER”, “EXPIRED_AND_LOCKED_TIMED_AND_IN_ROL”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The account_status of this UserSummary.
- Return type
str
- property admin_roles¶
Gets the admin_roles of this UserSummary. The admin roles granted to the user.
Allowed values for items in this list are: “PDB_DBA”, “DBA”, “DV_ADMIN”, “AUDIT_ADMIN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The admin_roles of this UserSummary.
- Return type
list[str]
- property are_all_schemas_accessible¶
Gets the are_all_schemas_accessible of this UserSummary. Indicates whether the user has access to all the schemas.
- Returns
The are_all_schemas_accessible of this UserSummary.
- Return type
bool
- property authentication_type¶
Gets the authentication_type of this UserSummary. The user authentication method.
Allowed values for this property are: “PASSWORD”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The authentication_type of this UserSummary.
- Return type
str
- property key¶
[Required] Gets the key of this UserSummary. The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user.
- Returns
The key of this UserSummary.
- Return type
str
- property schema_list¶
Gets the schema_list of this UserSummary. The list of database schemas current user can access.
- Returns
The schema_list of this UserSummary.
- Return type
list[str]
- property target_id¶
[Required] Gets the target_id of this UserSummary. The OCID of the target database.
- Returns
The target_id of this UserSummary.
- Return type
str
- property time_last_login¶
Gets the time_last_login of this UserSummary. The date and time the user last logged in, in the format defined by RFC3339.
- Returns
The time_last_login of this UserSummary.
- Return type
datetime
- property time_password_changed¶
Gets the time_password_changed of this UserSummary. The date and time the user password was last changed, in the format defined by RFC3339.
- Returns
The time_password_changed of this UserSummary.
- Return type
datetime
- property time_password_expiry¶
Gets the time_password_expiry of this UserSummary. The date and time the user’s password will expire, in the format defined by RFC3339.
- Returns
The time_password_expiry of this UserSummary.
- Return type
datetime
- property time_user_created¶
Gets the time_user_created of this UserSummary. The date and time the user was created in the database, in the format defined by RFC3339.
- Returns
The time_user_created of this UserSummary.
- Return type
datetime
- property user_category¶
Gets the user_category of this UserSummary. The user category based on the privileges and other details of the user.
Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The user_category of this UserSummary.
- Return type
str
- property user_name¶
[Required] Gets the user_name of this UserSummary. The database user name.
- Returns
The user_name of this UserSummary.
- Return type
str
- property user_profile¶
Gets the user_profile of this UserSummary. The user profile name.
- Returns
The user_profile of this UserSummary.
- Return type
str
- property user_types¶
Gets the user_types of this UserSummary. The user type, which can be a combination of the following:
‘Admin Privileged’: The user has administrative privileges. ‘Application’: The user is an Oracle E-Business Suite Applications (EBS) or Fusion Applications (FA) user. ‘Privileged’: The user is a privileged user. ‘Schema’: The user is EXPIRED & LOCKED / EXPIRED / LOCKED, or a schema-only account (authentication type is NONE). ‘Non-privileged’: The user is a non-privileged user.
Allowed values for items in this list are: “ADMIN_PRIVILEGED”, “APPLICATION”, “PRIVILEGED”, “SCHEMA”, “NON_PRIVILEGED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The user_types of this UserSummary.
- Return type
list[str]