diff options
author | dec05eba <0xdec05eba@gmail.com> | 2018-05-16 05:29:39 +0200 |
---|---|---|
committer | dec05eba <0xdec05eba@gmail.com> | 2018-05-16 05:29:41 +0200 |
commit | 16a9b3e33cd4e377417dcc785be7e19bf71e18b9 (patch) | |
tree | 40fc796056ee4b7ecd4be72e97ca52d8049e2c97 /src/Database.cpp | |
parent | 04d872f415d749778194cf415b36b2021e5896fc (diff) |
Add method to get user groups
Diffstat (limited to 'src/Database.cpp')
-rw-r--r-- | src/Database.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Database.cpp b/src/Database.cpp index 82cb21e..241d9a5 100644 --- a/src/Database.cpp +++ b/src/Database.cpp @@ -665,4 +665,9 @@ namespace odhtdb { return databaseStorage.getStoredUserNodeDataDecrypted(username, password); } + + vector<OwnedMemory> Database::getUserGroups(const Hash &nodeHash, const Signature::PublicKey &userPublicKey) const + { + return databaseStorage.getUserGroups(nodeHash, userPublicKey); + } } |