Click or drag to resize
DepartmentInfoCheckPermissionsInternal Method
Checks the permissions of the object.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
protected override bool CheckPermissionsInternal(
	PermissionsEnum permission,
	string siteName,
	IUserInfo userInfo,
	bool exceptionOnFailure
)

Parameters

permission
Type: CMS.DataEnginePermissionsEnum
Permission type
siteName
Type: SystemString
Name of the site
userInfo
Type: CMS.BaseIUserInfo
IUserInfo object
exceptionOnFailure
Type: SystemBoolean
If true, PermissionCheckException is thrown whenever a permission check fails

Return Value

Type: Boolean
See Also