blob: 50d18166b4b366545de57eddd4adfc8229c79b41 [file] [log] [blame]
Richard Marian Thomaiyar05375b12018-05-24 10:33:27 +05301description: >
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
6properties:
7 - name: UserGroups
8 type: array[string]
9 description: >
10 Groups to which the user belong.
Ratan Gupta0e6d6552018-11-03 12:28:06 +053011 errors:
12 - xyz.openbmc_project.Common.Error.InternalFailure
Richard Marian Thomaiyar05375b12018-05-24 10:33:27 +053013
14 - name: UserPrivilege
15 type: string
16 description: >
Chalapathida67a612020-05-11 20:03:44 +000017 Privilege of the user. Acceptable values of the system are listed
18 under AllPrivileges property under User.Manager interface.
Ratan Gupta0e6d6552018-11-03 12:28:06 +053019 errors:
20 - xyz.openbmc_project.Common.Error.InternalFailure
Chalapathida67a612020-05-11 20:03:44 +000021 - xyz.openbmc_project.Common.Error.InvalidArgument
Richard Marian Thomaiyar05375b12018-05-24 10:33:27 +053022
23 - name: UserEnabled
24 type: boolean
25 description: >
26 Enabled or disabled state of the user.
Ratan Gupta0e6d6552018-11-03 12:28:06 +053027 errors:
28 - xyz.openbmc_project.Common.Error.InternalFailure
Richard Marian Thomaiyar02486302018-07-16 00:29:50 +053029
30 - name: UserLockedForFailedAttempt
31 type: boolean
32 description: >
33 Locked or unlocked state of the user. After repeated failed
34 login attempt (configured through MaxLoginAttemptBeforeLockout),
35 locked out user can be unlocked manually by setting false to
36 this property. This property will return true if user is locked
37 out user. AccountUnlockTimeout property can be configured to unlock
38 the user after a timeout.
Ratan Gupta0e6d6552018-11-03 12:28:06 +053039 errors:
40 - xyz.openbmc_project.Common.Error.InternalFailure
Joseph Reynoldse375cad2020-04-10 17:22:06 -050041
42 - name: RemoteUser
43 type: boolean
44 flags:
45 - const
46 description: >
47 False for local users.
48 errors:
49 - xyz.openbmc_project.Common.Error.InternalFailure
50
51 - name: UserPasswordExpired
52 type: boolean
53 flags:
54 - const
55 description: >
56 True when the user's password must be changed before access should
57 be granted.
58 errors:
59 - xyz.openbmc_project.Common.Error.InternalFailure