Click or drag to resize
BaseInfoGetPermissionToCheck Method
Converts PermissionEnum to permission codename which will be checked when CheckPermission() is called. Derived classes can override this method to change permission which is checked (for example check for global permissions if object is global).

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
protected virtual PermissionsEnum GetPermissionToCheck(
	PermissionsEnum permission
)

Parameters

permission
Type: CMS.DataEnginePermissionsEnum
Permission to convert to string

Return Value

Type: PermissionsEnum
See Also