Click or drag to resize
ECommerceHelperIsUserAuthorizedForPermission Method (String, String, IUserInfo)
Checks the specified ecommerce permission for the given user.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public static bool IsUserAuthorizedForPermission(
	string permissionName,
	string siteName,
	IUserInfo user
)

Parameters

permissionName
Type: SystemString
Permission name to be checked
siteName
Type: SystemString
Site name
user
Type: CMS.BaseIUserInfo
User to be checked

Return Value

Type: Boolean
See Also