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

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

Parameters

permission
Type: CMS.DataEngine.PermissionsEnum
Permission type
siteName
Type: System.String
Name of the site
userInfo
Type: CMS.Base.IUserInfo
IUserInfo object
exceptionOnFailure
Type: System.Boolean
If true, PermissionCheckException is thrown whenever a permission check fails

Return Value

Type: Boolean
See Also