/** * Data Safe API * APIs for using Oracle Data Safe. * OpenAPI spec version: 20181201 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ /** * The 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. * */ export interface UserSummary { /** * The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user. */ "key": string; /** * The database user name. */ "userName": string; /** * The user category based on the privileges and other details of the user. */ "userCategory"?: UserSummary.UserCategory; /** * The status of the user account. */ "accountStatus"?: UserSummary.AccountStatus; /** * The OCID of the target database. */ "targetId": string; /** * The date and time the user last logged in, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ "timeLastLogin"?: Date; /** * The date and time the user was created in the database, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ "timeUserCreated"?: Date; /** * The user authentication method. */ "authenticationType"?: UserSummary.AuthenticationType; /** * The user profile name. */ "userProfile"?: string; /** * The date and time the user password was last changed, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ "timePasswordChanged"?: Date; /** * The date and time the user's password will expire, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ "timePasswordExpiry"?: Date; /** * 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. * */ "userTypes"?: Array; /** * The admin roles granted to the user. */ "adminRoles"?: Array; /** * Indicates whether the user has access to all the schemas. */ "areAllSchemasAccessible"?: boolean; /** * The list of database schemas current user can access. */ "schemaList"?: Array; } export declare namespace UserSummary { enum UserCategory { Critical = "CRITICAL", High = "HIGH", Medium = "MEDIUM", Low = "LOW", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum AccountStatus { Open = "OPEN", Locked = "LOCKED", Expired = "EXPIRED", ExpiredAndLocked = "EXPIRED_AND_LOCKED", OpenAndInRollover = "OPEN_AND_IN_ROLLOVER", ExpiredAndInRollover = "EXPIRED_AND_IN_ROLLOVER", LockedAndInRollover = "LOCKED_AND_IN_ROLLOVER", ExpiredAndLockedAndInRollover = "EXPIRED_AND_LOCKED_AND_IN_ROLLOVER", LockedTimedAndInRollover = "LOCKED_TIMED_AND_IN_ROLLOVER", ExpiredAndLockedTimedAndInRol = "EXPIRED_AND_LOCKED_TIMED_AND_IN_ROL", None = "NONE", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum AuthenticationType { Password = "PASSWORD", None = "NONE", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum UserTypes { AdminPrivileged = "ADMIN_PRIVILEGED", Application = "APPLICATION", Privileged = "PRIVILEGED", Schema = "SCHEMA", NonPrivileged = "NON_PRIVILEGED", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum AdminRoles { PdbDba = "PDB_DBA", Dba = "DBA", DvAdmin = "DV_ADMIN", AuditAdmin = "AUDIT_ADMIN", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: UserSummary): object; function getDeserializedJsonObj(obj: UserSummary): object; }