2018-03-22 03:59:10 -04:00
|
|
|
<?php
|
2019-12-03 13:57:53 -05:00
|
|
|
|
2018-03-22 03:59:10 -04:00
|
|
|
declare(strict_types=1);
|
2019-12-03 13:57:53 -05:00
|
|
|
|
2018-03-22 03:59:10 -04:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2018-03-22 03:59:10 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCP\User\Backend;
|
|
|
|
|
|
2018-03-22 05:53:29 -04:00
|
|
|
/**
|
|
|
|
|
* @since 14.0.0
|
|
|
|
|
*/
|
2018-03-22 03:59:10 -04:00
|
|
|
interface IGetDisplayNameBackend {
|
2018-03-22 05:53:29 -04:00
|
|
|
/**
|
|
|
|
|
* @since 14.0.0
|
2018-03-22 10:54:55 -04:00
|
|
|
*
|
|
|
|
|
* @param string $uid user ID of the user
|
|
|
|
|
* @return string display name
|
2018-03-22 05:53:29 -04:00
|
|
|
*/
|
2018-03-22 07:18:54 -04:00
|
|
|
public function getDisplayName($uid): string;
|
2018-03-22 03:59:10 -04:00
|
|
|
}
|