1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:07:45 +00:00

LibCore: Add query for all accounts and groups

This commit is contained in:
ne0ndrag0n 2022-10-15 00:40:51 -04:00 committed by Andrew Kaster
parent 58e9262ff1
commit 9ddb86f7db
4 changed files with 66 additions and 0 deletions

View file

@ -19,6 +19,8 @@ public:
static ErrorOr<void> add_group(Group& group);
#endif
static ErrorOr<Vector<Group>> all();
Group() = default;
Group(String name, gid_t id = 0, Vector<String> members = {});