removeDataForSite
Rights::removeDataForSite( $siteId )
Deletes all access permissions for a site.
Parameters
Parameter | Description | Available from version |
---|---|---|
siteId | Site identifier. |
Example
if (\Bitrix\Main\Loader::includeModule('landing')) { \Bitrix\Landing\Rights::removeDataForSite($siteId); }
© «Bitrix24», 2001-2024
Up