ECommerceHelperIsUserAuthorizedToModifyConfiguration Method (Boolean, String, IUserInfo) |
Checks whether the user is authorized to modify site/global e-commerce configuration.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax public static bool IsUserAuthorizedToModifyConfiguration(
bool global,
string siteName,
IUserInfo user
)
Parameters
- global
- Type: SystemBoolean
True - permission 'ConfigurationGlobalModify' is checked, False - permission 'ConfigurationGlobalModify' is checked - siteName
- Type: SystemString
Site name - user
- Type: CMS.BaseIUserInfo
User to be checked
Return Value
Type:
BooleanSee Also