mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 00:17:45 +00:00
LibCore: Add query for all accounts and groups
This commit is contained in:
parent
58e9262ff1
commit
9ddb86f7db
4 changed files with 66 additions and 0 deletions
|
@ -35,6 +35,7 @@ public:
|
|||
static ErrorOr<Account> self(Read options = Read::All);
|
||||
static ErrorOr<Account> from_name(StringView username, Read options = Read::All);
|
||||
static ErrorOr<Account> from_uid(uid_t uid, Read options = Read::All);
|
||||
static ErrorOr<Vector<Account>> all(Read options = Read::All);
|
||||
|
||||
bool authenticate(SecretString const& password) const;
|
||||
ErrorOr<void> login() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue