forked from authentricity/authentricity
34 lines
649 B
Plaintext
34 lines
649 B
Plaintext
|
interface io.systemd.UserDatabase
|
||
|
|
||
|
method GetUserRecord(
|
||
|
uid : ?int,
|
||
|
userName : ?string,
|
||
|
service : string
|
||
|
) -> (
|
||
|
record : object,
|
||
|
incomplete : bool
|
||
|
)
|
||
|
|
||
|
method GetGroupRecord(
|
||
|
gid : ?int,
|
||
|
groupName : ?string,
|
||
|
service : string
|
||
|
) -> (
|
||
|
record : object,
|
||
|
incomplete : bool
|
||
|
)
|
||
|
|
||
|
method GetMemberships(
|
||
|
userName : ?string,
|
||
|
groupName : ?string,
|
||
|
service : string
|
||
|
) -> (
|
||
|
userName : string,
|
||
|
groupName : string
|
||
|
)
|
||
|
|
||
|
error NoRecordFound()
|
||
|
error BadService()
|
||
|
error ServiceNotAvailable()
|
||
|
error ConflictingRecordFound()
|
||
|
error EnumerationNotSupported()
|