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: 10.8.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.