diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-05-23 16:58:58 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-05-27 12:03:05 +0200 |
commit | c6c8a41d2f34a05dbb8b24b280c767b022a3c338 (patch) | |
tree | 45852452a236211e8126fce4557baa4aa435f0d2 /lib/public | |
parent | 96e892770d0b37fab66f8b92c10866fadccf98c5 (diff) | |
download | nextcloud-server-c6c8a41d2f34a05dbb8b24b280c767b022a3c338.tar.gz nextcloud-server-c6c8a41d2f34a05dbb8b24b280c767b022a3c338.zip |
group display name support (service level + ldap)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
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; + +} |