Click or drag to resize
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.LicenseProvider
Assembly: CMS.LicenseProvider (in CMS.LicenseProvider.dll) Version: 13.0.131
Syntax
C#
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: Boolean
See Also