Checks the permissions of the object.
            
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- permission
 - Type: CMS.DataEngine PermissionsEnum
Permission type 
- siteName
 - Type: 
System String
Name of the site 
- userInfo
 - Type: CMS.Base IUserInfo
UserInfo object 
- exceptionOnFailure
 - Type: 
System Boolean
If true, PermissionCheckException is thrown whenever a permission check fails 
Return Value
Type:See Also