2014-11-05 07:05:07 -05:00
|
|
|
<?php
|
2024-05-29 05:32:54 -04:00
|
|
|
|
2014-11-05 07:05:07 -05:00
|
|
|
/**
|
2024-05-29 05:32:54 -04:00
|
|
|
* SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2015-03-26 06:44:34 -04:00
|
|
|
*/
|
2014-11-05 07:05:07 -05:00
|
|
|
namespace OCA\User_LDAP\Mapping;
|
|
|
|
|
|
|
|
|
|
/**
|
2020-04-08 16:24:54 -04:00
|
|
|
* Class UserMapping
|
|
|
|
|
* @package OCA\User_LDAP\Mapping
|
|
|
|
|
*/
|
2014-11-05 07:05:07 -05:00
|
|
|
class GroupMapping extends AbstractMapping {
|
|
|
|
|
|
|
|
|
|
/**
|
2020-04-08 16:24:54 -04:00
|
|
|
* returns the DB table name which holds the mappings
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
2020-03-12 10:24:38 -04:00
|
|
|
protected function getTableName(bool $includePrefix = true) {
|
|
|
|
|
$p = $includePrefix ? '*PREFIX*' : '';
|
|
|
|
|
return $p . 'ldap_group_mapping';
|
2014-11-05 07:05:07 -05:00
|
|
|
}
|
|
|
|
|
}
|