Use the Add Provider and Edit Provider dialog boxes to add or modify a provider in IIS when you have an application that uses a provider-based service to store data in a database or other data store. The properties that are displayed in the dialog box depend on which type of provider you choose to add or edit.

The 3 different types of providers you can add or edit are:

Note

The Add Provider and Edit Provider dialog boxes enable you to add or edit most of the properties for a provider, but not all of them. You can configure additional properties for each provider in the Web.config file of your Web application. For more information about providers see ASP.NET 2.0 Provider Model: Introduction to the Provider Model.

UI Element List

Element Name Description

Type

Sets the provider type.

Name

Defines the name of the provider.

Behavior

Sets some of the behaviors for Membership User providers. Setting the value of one or more of the following behaviors to True enables that behavior:

  • EnablePasswordReset - indicates whether passwords can be reset using the provider's ResetPassword method. The default setting is False.

  • EnablePasswordRetrieval - indicates whether passwords can be retrieved using the provider's GetPassword method. The default setting is False.

  • RequiresQuestionAndAnswer - indicates whether a password answer must be supplied when calling the provider's GetPassword and ResetPassword methods. The default setting is False.

  • RequiresUniqueEmail - indicates whether each registered user must have a unique e-mail address. The default setting is False.

  • StorePasswordInSecureFormat - indicates whether passwords should be hashed. The default setting is False.

Data

Configures the name of the connection string used to connect to the database. Enter the name of the connection string in the ConnectionStringName check box.

General

Defines general settings for the provider. These settings are optional and include:

  • ApplicationName - specifies the virtual path of the application in the ApplicationName box. If you do not specify a value in the ApplicationName box, the membership API defaults to HttpContext.Current.Request.ApplicationPath. This can be determined only at runtime.

  • Description - gives a description of the provider.

Misc

Enables you configure name and value pairs that are specific to the provider. To add and remove name and value pairs, click the button next to the Provider Specific Settings field in the Misc section.

See Also