Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
This topic describes using the IRegistrar interface in Episerver Commerce. This interface allows for the ability to have self-registered users who do not need any back-end access functionality. A common use case for this has a user store for management functions of your site, and another user store for customers who buy things from your e-commerce site. The idea behind the interface is to use EPiServer.ServiceLocation.ServiceLocator to register the default instance of the interface. Then in your front-end code you can use the ServiceLocator instance when writing your controllers so you could easily switch to a new IRegistrar user store in the future if need be.
Note: This configuration requires the EPiServer.Commerce.Security nuget packages as dependency.
Last updated: Oct 12, 2015