Class Profile
The comprehensive information about the user profiles available on a given target. It includes details such as profile name, failed login attempts, password reuse time, password verification function, password verification function implementation code snippet, sessions per user, connect time inactive account time, password lock time, cpu usage per session, target id, and compartment id.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class Profile
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the user assessment. |
CompositeLimit
Declaration
[JsonProperty(PropertyName = "compositeLimit")]
public string CompositeLimit { get; set; }
Property Value
Type | Description |
---|---|
string | Specify the total resource cost for a session, expressed in service units. Oracle Database calculates the total service units as a weighted sum of CPU_PER_SESSION, CONNECT_TIME, LOGICAL_READS_PER_SESSION, and PRIVATE_SGA. |
ConnectTime
Declaration
[JsonProperty(PropertyName = "connectTime")]
public string ConnectTime { get; set; }
Property Value
Type | Description |
---|---|
string | Specify the total elapsed time limit for a session, expressed in minutes. |
CpuPerCall
Declaration
[JsonProperty(PropertyName = "cpuPerCall")]
public string CpuPerCall { get; set; }
Property Value
Type | Description |
---|---|
string | Specify the CPU time limit for a call (a parse, execute, or fetch), expressed in hundredths of seconds. |
CpuPerSession
Declaration
[JsonProperty(PropertyName = "cpuPerSession")]
public string CpuPerSession { get; set; }
Property Value
Type | Description |
---|---|
string | Specify the CPU time limit for a session, expressed in hundredth of seconds. |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags
|
FailedLoginAttempts
Declaration
[JsonProperty(PropertyName = "failedLoginAttempts")]
public string FailedLoginAttempts { get; set; }
Property Value
Type | Description |
---|---|
string | Maximum times the user is allowed in fail login before the user account is locked. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
|
IdleTime
Declaration
[JsonProperty(PropertyName = "idleTime")]
public string IdleTime { get; set; }
Property Value
Type | Description |
---|---|
string | Specify the permitted periods of continuous inactive time during a session, expressed in minutes. |
InactiveAccountTime
Declaration
[JsonProperty(PropertyName = "inactiveAccountTime")]
public string InactiveAccountTime { get; set; }
Property Value
Type | Description |
---|---|
string | The permitted periods of continuous inactive time during a session, expressed in minutes. Long-running queries and other operations are not subject to this limit. |
IsUserCreated
Declaration
[JsonProperty(PropertyName = "isUserCreated")]
public bool? IsUserCreated { get; set; }
Property Value
Type | Description |
---|---|
bool? | Represents if the profile is created by user. |
LogicalReadsPerCall
Declaration
[JsonProperty(PropertyName = "logicalReadsPerCall")]
public string LogicalReadsPerCall { get; set; }
Property Value
Type | Description |
---|---|
string | Specify the permitted the number of data blocks read for a call to process a SQL statement (a parse, execute, or fetch). |
LogicalReadsPerSession
Declaration
[JsonProperty(PropertyName = "logicalReadsPerSession")]
public string LogicalReadsPerSession { get; set; }
Property Value
Type | Description |
---|---|
string | Specify the permitted number of data blocks read in a session, including blocks read from memory and disk. |
PasswordGraceTime
Declaration
[JsonProperty(PropertyName = "passwordGraceTime")]
public string PasswordGraceTime { get; set; }
Property Value
Type | Description |
---|---|
string | Number of grace days for user to change password. |
PasswordLifeTime
Declaration
[JsonProperty(PropertyName = "passwordLifeTime")]
public string PasswordLifeTime { get; set; }
Property Value
Type | Description |
---|---|
string | Number of days the password is valid before expiry. |
PasswordLockTime
Declaration
[JsonProperty(PropertyName = "passwordLockTime")]
public string PasswordLockTime { get; set; }
Property Value
Type | Description |
---|---|
string | Number of days the user account remains locked after failed login. |
PasswordReuseMax
Declaration
[JsonProperty(PropertyName = "passwordReuseMax")]
public string PasswordReuseMax { get; set; }
Property Value
Type | Description |
---|---|
string | Number of day after the user can use the already used password. |
PasswordReuseTime
Declaration
[JsonProperty(PropertyName = "passwordReuseTime")]
public string PasswordReuseTime { get; set; }
Property Value
Type | Description |
---|---|
string | Number of days before which a password cannot be reused. |
PasswordRolloverTime
Declaration
[JsonProperty(PropertyName = "passwordRolloverTime")]
public string PasswordRolloverTime { get; set; }
Property Value
Type | Description |
---|---|
string | Number of days the password rollover is allowed. Minimum value can be 1/24 day (1 hour) to 60 days. |
PasswordVerificationFunction
Declaration
[JsonProperty(PropertyName = "passwordVerificationFunction")]
public string PasswordVerificationFunction { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the PL/SQL that can be used for password verification. |
PasswordVerificationFunctionDetails
Declaration
[JsonProperty(PropertyName = "passwordVerificationFunctionDetails")]
public string PasswordVerificationFunctionDetails { get; set; }
Property Value
Type | Description |
---|---|
string | Details about the PL/SQL that can be used for password verification. |
PrivateSga
Declaration
[JsonProperty(PropertyName = "privateSga")]
public string PrivateSga { get; set; }
Property Value
Type | Description |
---|---|
string | Specify the amount of private space a session can allocate in the shared pool of the system global area (SGA), expressed in bytes. |
ProfileName
Declaration
[Required(ErrorMessage = "ProfileName is required.")]
[JsonProperty(PropertyName = "profileName")]
public string ProfileName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the profile. |
Remarks
Required
SessionsPerUser
Declaration
[JsonProperty(PropertyName = "sessionsPerUser")]
public string SessionsPerUser { get; set; }
Property Value
Type | Description |
---|---|
string | Specify the number of concurrent sessions to which you want to limit the user. |
TargetId
Declaration
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the target database. |
UserAssessmentId
Declaration
[Required(ErrorMessage = "UserAssessmentId is required.")]
[JsonProperty(PropertyName = "userAssessmentId")]
public string UserAssessmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the user assessment corresponding to the target under consideration. |
Remarks
Required
UserCount
Declaration
[JsonProperty(PropertyName = "userCount")]
public int? UserCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of users that have a given profile. |