2022-10-24 11:32:51 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2022-10-24 11:32:51 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
namespace OCP\User\Backend;
|
|
|
|
|
|
|
|
|
|
/**
|
2022-10-25 03:12:02 -04:00
|
|
|
* @since 24.0.7
|
2022-10-24 11:32:51 -04:00
|
|
|
*/
|
|
|
|
|
interface ICountMappedUsersBackend {
|
|
|
|
|
/**
|
2022-10-25 03:12:02 -04:00
|
|
|
* @since 24.0.7
|
2022-10-24 11:32:51 -04:00
|
|
|
*
|
|
|
|
|
* @return int The number of users already mapped to a Nextcloud account
|
|
|
|
|
*/
|
|
|
|
|
public function countMappedUsers(): int;
|
|
|
|
|
}
|