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