Richard Marian Thomaiyar | 05375b1 | 2018-05-24 10:33:27 +0530 | [diff] [blame] | 1 | description: > |
| 2 | Provides user objects, their properties. |
| 3 | As communication to this service is done through authenticated |
| 4 | & authorized session, there won't be any validation for the both. |
| 5 | |
| 6 | properties: |
| 7 | - name: UserGroups |
| 8 | type: array[string] |
| 9 | description: > |
| 10 | Groups to which the user belong. |
Ratan Gupta | 0e6d655 | 2018-11-03 12:28:06 +0530 | [diff] [blame] | 11 | errors: |
| 12 | - xyz.openbmc_project.Common.Error.InternalFailure |
Richard Marian Thomaiyar | 05375b1 | 2018-05-24 10:33:27 +0530 | [diff] [blame] | 13 | |
| 14 | - name: UserPrivilege |
| 15 | type: string |
| 16 | description: > |
| 17 | Privilege of the user. |
Ratan Gupta | 0e6d655 | 2018-11-03 12:28:06 +0530 | [diff] [blame] | 18 | errors: |
| 19 | - xyz.openbmc_project.Common.Error.InternalFailure |
Richard Marian Thomaiyar | 05375b1 | 2018-05-24 10:33:27 +0530 | [diff] [blame] | 20 | |
| 21 | - name: UserEnabled |
| 22 | type: boolean |
| 23 | description: > |
| 24 | Enabled or disabled state of the user. |
Ratan Gupta | 0e6d655 | 2018-11-03 12:28:06 +0530 | [diff] [blame] | 25 | errors: |
| 26 | - xyz.openbmc_project.Common.Error.InternalFailure |
Richard Marian Thomaiyar | 0248630 | 2018-07-16 00:29:50 +0530 | [diff] [blame] | 27 | |
| 28 | - name: UserLockedForFailedAttempt |
| 29 | type: boolean |
| 30 | description: > |
| 31 | Locked or unlocked state of the user. After repeated failed |
| 32 | login attempt (configured through MaxLoginAttemptBeforeLockout), |
| 33 | locked out user can be unlocked manually by setting false to |
| 34 | this property. This property will return true if user is locked |
| 35 | out user. AccountUnlockTimeout property can be configured to unlock |
| 36 | the user after a timeout. |
Ratan Gupta | 0e6d655 | 2018-11-03 12:28:06 +0530 | [diff] [blame] | 37 | errors: |
| 38 | - xyz.openbmc_project.Common.Error.InternalFailure |