Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class CommercePolicyVerification

This class is intended to be used internally by EPiServer. We do not support any backward compatibility on this.

Inheritance
System.Object
CommercePolicyVerification
Namespace: EPiServer.Commerce.Security.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public class CommercePolicyVerification : Object

Constructors

CommercePolicyVerification()

Declaration
public CommercePolicyVerification()

Methods

UserMeetsPolicy(IList<String>)

Check if user meets the policy

Declaration
public bool UserMeetsPolicy(IList<string> policyRoles)
Parameters
Type Name Description
System.Collections.Generic.IList<System.String> policyRoles
Returns
Type Description
System.Boolean