Documentation

removeDataForSite

Rights::removeDataForSite(
   $siteId
)

Deletes all access permissions for site.

Parameters

Class Description Available from version
siteId Site ID.

Example

if (\Bitrix\Main\Loader::includeModule('landing'))
{
   \Bitrix\Landing\Rights::removeDataForSite($siteId);
}
© «Bitrix24», 2001-2024