LicenseHelperIsFeatureAvailableInUI Method (FeatureEnum, String) |
Indicates if specified feature is available in UI based on whether equivalent module is loaded and specified feature is available in user's licence.
Namespace: CMS.LicenseProviderAssembly: CMS.LicenseProvider (in CMS.LicenseProvider.dll) Version: 9.0.0
Syntax public static bool IsFeatureAvailableInUI(
FeatureEnum feature,
string moduleName
)
Parameters
- feature
- Type: CMS.DataEngineFeatureEnum
Feature to check if it is available in user's license - moduleName
- Type: SystemString
Module to check if it is loaded
Return Value
Type:
BooleanSee Also