CAdvContract::IsModuleAccess
boolean CAdvContract::IsModuleAccess( char(1) permission );
The method IsModuleAccess returns true if the current user owns the specified permission, or false otherwise.
Parameters
- permission
- Symbol specifying an access permission for the advertisement module.
The
following values are possible:
- D - access denied;
- K - handling contracts (advertiser);
- R - read-only access;
- T - managing banners;
- W - full administrative access.
© «Bitrix24», 2001-2024