Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

6. Authentication Controls and Membershi... > Using an MCMS Membership Provider

Using an MCMS Membership Provider

Now that we have created our MCMS Membership Provider, we need to register it with our Tropical Green MCMS application.

  1. Right-click the TropicalGreen website and click Add Reference
  2. In the Add Reference dialog, click the Projects tab.
  3. Click MCMSMembershipProviders and OK.
  4. Open the web.config file.
  5. Add the following section directly below the existing<authentication /> tag:
    <membership defaultProvider="McmsWindowsMembershipProvider"
    userIsOnlineTimeWindow="30">
    <providers>
    <add name="McmsWindowsMembershipProvider"
    type="TropicalGreen.MCMSMembershipProviders.
    McmsWindowsMembershipProvider"
    applicationName="/"/>
    </providers>
    </membership>
    

    Note

    Note that the type attribute of the<add> element needs to be entered on one line with no spaces or line breaks. The formatting above is for printing purposes only.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial