which points to the object with the fields defined here.
The following fields are defined:
+`aliases` → An array of strings, each being a valid UNIX user name. This is
+similar to the top-level field of the same name. The purpose of this field is
+to allow user record providers to dynamically insert additional alias names
+into the user record, depending on the precise query. This is useful to
+implement case-insensitive user names (or support for similar non-normalized
+user record naming), as it allows the provider to insert the precise
+casing/spelling of the user name used for the look-up in the record data,
+without this being part of the persisted record. Note that clients doing a
+look-up typically re-validate user records against the lookup keys they
+provided, hence it's essential that any dynamic alias name appears in the
+user record, without this being part of the persistent part of the record.
+
`diskUsage` → An unsigned 64-bit integer.
The currently used disk space of the home directory in bytes.
This value might be determined in different ways, depending on the selected storage mechanism.
{ "fallbackHomeDirectory", SD_JSON_VARIANT_STRING, json_dispatch_home_directory, offsetof(UserRecord, fallback_home_directory), 0 },
{ "useFallback", SD_JSON_VARIANT_BOOLEAN, sd_json_dispatch_stdbool, offsetof(UserRecord, use_fallback), 0 },
{ "defaultArea", SD_JSON_VARIANT_STRING, json_dispatch_filename, offsetof(UserRecord, default_area), 0 },
+ { "aliases", SD_JSON_VARIANT_ARRAY, json_dispatch_user_group_list, offsetof(UserRecord, aliases), SD_JSON_RELAX },
{},
};