diff options
author | Anna Larch <anna@nextcloud.com> | 2022-11-03 12:51:29 +0100 |
---|---|---|
committer | Anna (Rebase PR Action) <miaulalala@users.noreply.github.com> | 2022-11-28 11:52:55 +0000 |
commit | 7c4ceb444cb22f519cd30af5cd22304b960c8818 (patch) | |
tree | 99007ffe7cdc0a7f7360f4793cb92a6f18b98c52 /lib/public/IGroupManager.php | |
parent | 08587c9de681f3335d81c327fd524f229380067a (diff) | |
download | nextcloud-server-7c4ceb444cb22f519cd30af5cd22304b960c8818.tar.gz nextcloud-server-7c4ceb444cb22f519cd30af5cd22304b960c8818.zip |
Add group display name cache
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'lib/public/IGroupManager.php')
-rw-r--r-- | lib/public/IGroupManager.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/IGroupManager.php b/lib/public/IGroupManager.php index d942caac9b4..2e2685eeeb4 100644 --- a/lib/public/IGroupManager.php +++ b/lib/public/IGroupManager.php @@ -145,4 +145,14 @@ interface IGroupManager { * @since 8.0.0 */ public function isInGroup($userId, $group); + + /** + * Get the display name of a Nextcloud group + * + * @param string $groupId + * @return ?string display name, if any + * + * @since 26.0.0 + */ + public function getDisplayName(string $groupId): ?string; } |