Membership and Role Provider

http://localhost:10428/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=c:\…\&applicationUrl=/

  <connectionStrings>
    <add name="FinancialCalculatorConnectionString" 
         connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=Database;User ID=user;Password=pasword" 
         providerName="System.Data.SqlClient"  />
  </connectionStrings>
    <membership defaultProvider="SqlMembershipProvider" userIsOnlineTimeWindow="15">
      <providers>
        <clear />
        <add name="SqlProvider"
             type="System.Web.Security.SqlMembershipProvider"
             connectionStringName="FinancialCalculatorConnectionString"
             applicationName="FinancialCalculator"
             enablePasswordRetrieval="false"
             enablePasswordReset="true"
             requiresQuestionAndAnswer="false"
             requiresUniqueEmail="true"
             minRequiredNonalphanumericCharacters="0"
             passwordFormat="Hashed" />
      </providers>
    </membership>
    <roleManager enabled="true" defaultProvider="SqlRoleProvider">
      <providers>
        <clear/>
        <add name="SqlRoleProvider"
             type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
             connectionStringName="FinancialCalculatorConnectionString"
             applicationName="FinancialCalculator" />
      </providers>
    </roleManager>
programming/csharp/memebershipandroleprovider.txt · Last modified: 2018-06-21 19:48 (external edit)
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0