# SecurityQuestionsCredentialsType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Supertype: AbstractCredentialType

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
name | property string | [0,1] | Name of the credential.
failedLogins | property int | [0,1] |
lastSuccessfulLogin | property LoginEventType | [0,1] |
previousSuccessfulLogin | property LoginEventType | [0,1] |
lastFailedLogin | property LoginEventType | [0,1] |
metadata | container MetadataType | [0,1] | Timestamps and general metadata describing the credential change.
forceChange | property boolean | [0,1] | If it is required to change password.
questionAnswer | container SecurityQuestionAnswerType | [0,-1] | Answer to the security question.

- ### Items

  - #### name

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    Name of the credential. It is used as an identifier that specifies credential purpose. E.g. it may specify whether this is default user password or administration password, whether this is a nonce for registration or password reset and so on. Simply speaking the name is used to distinguish credentials that have the same type but different purpose.

  - #### failedLogins

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### lastSuccessfulLogin

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### previousSuccessfulLogin

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### lastFailedLogin

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### metadata

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    Timestamps and general metadata describing the credential change.

  - #### forceChange

    Flags: RAM,runtime

    Multiplicity: [0,1]

    If it is required to change password. E.g. there are situation when you set first password for the user, but after the user fist log in to the system, he/she has to change his/her password.

  - #### questionAnswer

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Answer to the security question. This is a "personalized" answer and it is supposed to be associated with a single user. However, it may also optionally contain a question. E.g. in case a user specified a custom question.