Skip to main content

GET / PATCH – Account service properties

Use the GET/PATCH method to retrieve properties in AccountService resource for Redfish service.

Request URL

https://<SMM_IPADDR>/redfish/v1/AccountService

Request body

None

Response body

Field

Type

Description

AccountLockoutDuration

Integer

The value should be between 0~2880 (60).

AccountLockoutThreshold

Integer

The value should be between 0~10 (5).

Accounts

Object

The link to the accounts.

 

@odata.id

String

“/redfish/v1/AccountService/Accounts”

Description

String

Account Service

Id

String

“AccountService”

MaxPasswordLength

Integer

20

MinPasswordLength

Integer

8~20 (10)

Name

String

Account Service

OEM

Object

Expanded

 

Lenovo

Object

Expanded

  

ComplexPassword

Number

0~5

  

IPBlockForTenLoginAttemp

Boolean

IP address block for 300 seconds after 10 login failures.

Value: true or false

  

MinimumPasswordChangeIntervalHours

Number

0~240 (1)

  

MinimumPasswordReuseCycle

Number

0~10 (5)

  

PasswordChangeOnFirstAccess

Boolean

Force user to change password on first access.

Value: true or false

  

PasswordExpirationWarningPeriod

Number

0~ PasswordExpirationPeriodDays (0)

 

OpenBMC

Object

Expanded

  

AuthMethods

Object

Expanded

   

BasicAuth

Boolean

true
   

Cookie

Boolean

true
   

SessionToken

Boolean

true
   

TLS

Boolean

true
   

XToken

Boolean

true

PasswordExpirationPeriodDays

Number

0~365 (0)

Roles

link

The link to the Roles.

 

@odata.id

String

“/redfish/v1/AccountService/Roles”

ServiceEnabled

Boolean

true (read-only)

REST operation – PATCH

OperationPropertiesComment
PATCH

AccountLockoutDuration

AccountLockoutThreshold

MaxPasswordLength

MinPasswordLength

Oem/Lenovo/ComplexPassword

Oem/Lenovo/MinimumPasswordChangeIntervalHours

Oem/Lenovo/MinimumPasswordReuseCycle

Oem/Lenovo/PasswordChangeOnFirstAccess

Oem/Lenovo/PasswordExpirationWarningPeriod

Oem/Lenovo/PasswordLength

PasswordExpirationDays

To change password policy and authentication method, all of these properties could be changed individually.
Note
PasswordChangeOnFirstAccess controls whether the password of an account is required to be changed before further access to the Service is granted. The change on PasswordChangeOnFirstAccess is only effective for the accounts created thereafter.