UserExtLocked

class oci.identity_domains.models.UserExtLocked(**kwargs)

Bases: object

A complex attribute that indicates an account is locked (blocking any new sessions).

SCIM++ Properties: - idcsCsvAttributeNameMappings: [[columnHeaderName:Locked, mapsTo:locked.on], [columnHeaderName:Locked Reason, mapsTo:locked.reason], [columnHeaderName:Locked Date, mapsTo:locked.lockDate]] - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: complex - uniqueness: none

Methods:

__init__(**kwargs)

Initializes a new UserExtLocked object with values from keyword arguments.

Attributes:

expired

Gets the expired of this UserExtLocked.

lock_date

Gets the lock_date of this UserExtLocked.

on

Gets the on of this UserExtLocked.

reason

Gets the reason of this UserExtLocked.

__init__(**kwargs)

Initializes a new UserExtLocked object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • reason (int) – The value to assign to the reason property of this UserExtLocked.

  • on (bool) – The value to assign to the on property of this UserExtLocked.

  • lock_date (str) – The value to assign to the lock_date property of this UserExtLocked.

  • expired (bool) – The value to assign to the expired property of this UserExtLocked.

property expired

Gets the expired of this UserExtLocked. Indicates whether the user password is expired. If this value is false, password expiry is still evaluated during user login.

Added In: 20.1.3

SCIM++ Properties:
  • caseExact: false

  • idcsSearchable: false

  • multiValued: false

  • mutability: readWrite

  • required: false

  • returned: request

  • type: boolean

  • uniqueness: none

Returns

The expired of this UserExtLocked.

Return type

bool

property lock_date

Gets the lock_date of this UserExtLocked. The date and time that the current resource was locked.

SCIM++ Properties:
  • idcsSearchable: false

  • multiValued: false

  • mutability: readWrite

  • idcsRequiresWriteForAccessFlows: true

  • required: false

  • returned: default

  • type: dateTime

  • uniqueness: none

Returns

The lock_date of this UserExtLocked.

Return type

str

property on

Gets the on of this UserExtLocked. Indicates that the account is locked.

SCIM++ Properties:
  • caseExact: false

  • idcsSearchable: true

  • multiValued: false

  • mutability: readWrite

  • idcsRequiresWriteForAccessFlows: true

  • idcsRequiresImmediateReadAfterWriteForAccessFlows: true

  • required: false

  • returned: default

  • type: boolean

  • uniqueness: none

Returns

The on of this UserExtLocked.

Return type

bool

property reason

Gets the reason of this UserExtLocked. Indicates the reason for locking the account. Valid values are: 0 - failed password login attempts, 1 - admin lock, 2 - failed reset password attempts, 3 - failed MFA login attempts, 4 - failed MFA login attempts for federated user, 5 - failed Database login attempts

SCIM++ Properties:
  • idcsSearchable: false

  • multiValued: false

  • mutability: readWrite

  • idcsRequiresWriteForAccessFlows: true

  • idcsRequiresImmediateReadAfterWriteForAccessFlows: true

  • required: false

  • returned: default

  • type: integer

  • uniqueness: none

Returns

The reason of this UserExtLocked.

Return type

int