London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class CustomerSqlRoleProvider

Extended Sql Role provider that allows dynamically changing the current application name instead of using static.

Inheritance
System.Object
CustomerSqlRoleProvider
Namespace: Mediachase.Commerce.Customers.Profile.Providers
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public class CustomerSqlRoleProvider : SqlRoleProvider

Constructors

CustomerSqlRoleProvider()

Declaration
public CustomerSqlRoleProvider()

Properties

ApplicationName

Gets or sets the name of the application to store and retrieve membership information for.

Declaration
public override string ApplicationName { get; set; }
Property Value
Type Description
System.String
Exceptions
Type Condition
System.ArgumentException

An attempt was made to set the System.Web.Security.SqlMembershipProvider.ApplicationName property to an empty string or null.

System.Configuration.Provider.ProviderException

An attempt was made to set the System.Web.Security.SqlMembershipProvider.ApplicationName property to a string that is longer than 256 characters.