Skip to main content

GET /userAccountSettings

Use GET to retrieve the current or default security settings for the user accounts.

Authentication

Authentication with username and password is required.

Request URL

GET https://{management_server_IP}/userAccountSettings

Query parameters

ParametersRequired / OptionalDescription
default={Boolean}OptionalIndicates whether to return the default account security settings. This can be one of the following values.
  • true. Returns the default account security settings

  • false. (default) Returns the current account security settings

The following example returns the default account security settings.
GET https://192.0.2.0/userAccountSettings?default=true

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
responseArrayEach array element represents a user account
 InactivityTimeoutIntegerAmount of time, in minutes, that a user session that is established with the Lenovo XClarity Administrator can be inactive before the user is logged off
 LockoutTimeIntegerMinimum amount of time, in minutes, that must pass before a user that was locked out can attempt to log back in again
 MaxConcurrentSessionsIntegerMaximum number of active sessions for a specific user that is allowed at any given time.
 MaximumLoginFailuresIntegerMaximum number of times that a user can attempt to log in with an incorrect password before the user account is locked out. The number specified for the lockout period after maximum login failures determines how long the user account is locked out. Accounts that are locked cannot be used to gain access to the system even if a valid password is provided.
 MaximumPasswordExpirationIntegerAmount of time, in days, that a user can use a password before it must be changed. Smaller values reduce the amount of time for attackers to guess passwords
 MaximumPasswordLengthIntegerMaximum number of characters that can be used to specify a valid password
 MinimumChangeTimeIntegerMinimum amount of time, in hours, that must elapse before a user can change a password again after it was previously changed. The value specified for this setting cannot exceed the value specified for the password expiration period.
 MinimumDifferentCharsIntegerMinimum number of characters that must be changed between the current password and a new password when the password is changed
 MinimumPasswordLengthIntegerMinimum number of characters that can be used to specify a valid password
 PasswordChangeFirstAccessBooleanIndicates whether a user is required to change the password when the user logs in to XClarity Administrator for the first time. This can be one of the following values.
  • true. The password must be changed on initial log in.
  • false. The password is not required to be changed on initial log in.
 PasswordExpirationWarningPeriodLongAmount of time, in days, before the password expiration date that users begin to receive warnings about the impending expiration of the user password
 PasswordHistoryDepthIntegerMinimum number of times that a user must enter a unique password when changing the password before the user can start to reuse passwords
 SimplePasswordRulesBooleanIndicates whether simple password rules are in effect. This can be one of the following values.
  • true. Simple password rules are in effect.
  • false. Simple password rules are not in effect.
 MinPasswordComplexityRulesIntegerNumber of complexity rules that must be followed when creating a new password

Rules are enforced starting with rule 1, and up to the number of rules specified. For example, if the password complexity is set to 4, then rules 1, 2, 3 and 4 must be followed. If the password complexity is set to 2, then rules 1 and 2 must be followed.

This can be a value from 0 – 5. The default is 4.

XClarity Administrator supports the following password complexity rules.
  • (1) Must contain at least one alphabetic character, and must not have more than two sequential characters, including sequences of alphabetic characters, digits, and QWERTY keyboard keys (for example, abc, 123, and asd are not allowed).

  • (2) Must contain at least one number (0 - 9).

  • (3) Must contain at least two of the following characters.

    • Uppercase alphabetic characters (A – Z)

    • Lowercase alphabetic characters (a – z)

    • Special characters. Only these characters are supported ; @ _ ! ' $ & +

  • (4) Must not repeat or reverse the user name.

  • (5) Must not contain more than two of the same characters consecutively (for example, aaa, 111, and ... are not allowed).

If set to 0, passwords are not required to comply with any complexity rules.

resultStringRequest results. This can be one of the following values.
  • success. The request completed successfully.
  • failure. The request failed. A descriptive error message was returned.
messagesArray of objectsInformation about one or more messages
 explanationStringAdditional information to clarify the reason for the message
 idStringThe message identifier of a returned message
 recoveryArray of objectsRecovery information
  textStringUser actions that can be taken to recover from the event
  URLStringLink to the help system for more information, if available
 textStringMessage text associated with the message identifier
The following example is returned if the request is successful.
{
"response": {
"InactivityTimeout": 1440,
"LockoutTime": 60,
"MaxConcurrentSessions": 3,
"MaximumLoginFailures": 20,
"MaximumPasswordExpiration": 90,
"MaximumPasswordLength": 20,
"MinimumChangeTime": 24,
"MinimumDifferentChars": 2,
"MinimumPasswordLength": 8,
"PasswordChangeFirstAccess": true,
"PasswordExpirationWarningPeriod": 5,
"PasswordHistoryDepth": 5,
"SimplePasswordRules": false,
"MinPasswordComplexityRules": 5
},
"result": "success",
"messages": [{
"explanation": "",
"id": "FQXHMSE0001I",
"recovery": {
"text": "Information only; no action is required.",
"URL": ""
},
"text": "The request completed successfully."
}]
}