ECommerceHelperIsUserAuthorizedForPermission Method (String, String, IUserInfo) |
Checks the specified ecommerce permission for the given user.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax 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:
BooleanSee Also