Skip to main content

Crate kirmes

Crate kirmes 

Source
Expand description

This crate provides an API to access the systemd userdb API

Structs§

Fido2HmacSalt
Authentication support with FIDO2 devices that implement the hmac-secret extension
GroupBinding
GroupPerMachine
Resource management-related fields
GroupPrivileged
GroupRecord
Group Records
GroupRecordFilter
Secondary search filter for group record lookups.
GroupSecret
Currently no fields are defined in this section for group records.
GroupSignature
Contains one or more cryptographic signatures of a reduced version of the group record.
GroupStatus
Membership
The membership of a user or group
Pkcs11EncryptedKey
The EncryptedKey for PKCS#11
RecoveryKey
Recovery keys for the user account
ResourceLimit
A Linux resource limit with soft and hard values.
UserBinding
The binding section overrides their equally named counterparts in the regular and perMachine sections.
UserPerMachine
Resource management-related fields
UserPrivileged
Contains information that the user and the administrator should be able to see, but other users should not.
UserRecord
User Records
UserRecordFilter
Secondary search filter for user record lookups.
UserSecret
Secret user credentials, such as password or PIN information.
UserSignature
Contains one or more cryptographic signatures of a reduced version of the user record.
UserStatus
Contains information about current runtime resource usage.

Enums§

AutoResizeMode
Controls whether the home area shall be grown automatically
Error
This type represents all possible errors that can occur when dealing with records
GroupDisposition
Disposition of the group, i.e. the context it is defined in.
UserDisposition
Disposition of the user, i.e. the context it is defined in.
UserHomeStorage
Indicates the storage mechanism for the user’s home directory.

Traits§

Validate
Trait for validating record types.

Functions§

get_group_record
The method looks up or enumerates a group record.
get_group_record_as
The method looks up or enumerates a group record with a custom type.
get_group_record_from_json
Parses a JSON string into a GroupRecord.
get_group_record_from_json_as
Parses a JSON string into a custom group record type.
get_membership_from_json
Parses a JSON string into a Membership.
get_memberships
The method call may be used to inquire about group memberships.
get_user_record
The method looks up or enumerates a user record.
get_user_record_as
The method looks up or enumerates a user record with a custom type.
get_user_record_from_json
Parses a JSON string into a UserRecord.
get_user_record_from_json_as
Parses a JSON string into a custom user record type.

Type Aliases§

Result