diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2019-05-27 15:09:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-27 15:09:03 +0200 |
commit | 3e5174b733277f032c9ecb5d77ec09ac18a77586 (patch) | |
tree | 546fabefc0a434aaaa90af0d945e7790ac5be91f /lib/public | |
parent | bffb34afbd774c8837234e49fa9154a67e2df6d2 (diff) | |
parent | c6c8a41d2f34a05dbb8b24b280c767b022a3c338 (diff) | |
download | nextcloud-server-3e5174b733277f032c9ecb5d77ec09ac18a77586.tar.gz nextcloud-server-3e5174b733277f032c9ecb5d77ec09ac18a77586.zip |
Merge pull request #15704 from nextcloud/enh/7276/group-names
Group display name support (service level + ldap)
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Group/Backend/IGetDisplayNameBackend.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/public/Group/Backend/IGetDisplayNameBackend.php b/lib/public/Group/Backend/IGetDisplayNameBackend.php new file mode 100644 index 00000000000..69d1742a1e5 --- /dev/null +++ b/lib/public/Group/Backend/IGetDisplayNameBackend.php @@ -0,0 +1,36 @@ +<?php +declare(strict_types=1); +/** + * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> + * + * @author Arthur Schiwon <blizzz@arthur-schiwon.de> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +namespace OCP\Group\Backend; + +/** + * @since 17.0.0 + */ +interface IGetDisplayNameBackend { + /** + * @since 17.0.0 + */ + public function getDisplayName(string $gid): string; + +} |