SharePoint 2013 Forms authentication uses the ASP. NET Configuration tool to join users

Source: Internet
Author: User

Preface

In the previous blog, we learned how to configure forms authentication for SharePoint 2013. But joining the user is a hassle; in fact, we are also able to use the ASP. NET Configuration tool to add form users to SharePoint 2013, let's take a brief introduction below. How to operate.

Open Visual Studio. New project, select the ASP. NET Web Application type. For example, with:

Click OK to go to the Select Template page. For example, with:

Create complete, double-click Open Web. config, for example:

Join the database connection string, the connection is our form authentication database, do not write wrong, for example:

Join membership and rolemanager, which are basically consistent with previous configurations, such as:

Open a command-line tool and run the iisexpress command, for example:

Iisexpress/path:c:\windows\microsoft.net\framework\v4. 0.30319\asp. Netwebadminfiles/vpath:"/asp. Netwebadminfiles" /port:8002 /clr:4.0 /NTLM

Run complete. Effects such as:

Open in the browser for example the following address:

Http://localhost:8002/asp.netwebadminfiles/default.aspx?applicationphysicalpath=[project postion]& applicationurl=/

[Project Postion] is the path inside the location bar. Copy it down and you can;

Be able to discover access to the NET Configuration tool, for example by:

Go to provider and select one of our providers, for example by:

Choose the configuration we can, remember to save. For example, with:

Click Security and select the authentication type, for example:

Choose what we have labeled. For example, with:

Then we are able to create the user, for example by:

Fill in username, password, email address, click Create, for example:

Create a complete, for example:

Go to the database to find out if you have inserted into the database, for example:

Login with the form users we created and find the login successful!

Summary

Such a net way to create a form user, said the simple fact that the configuration is also very troublesome, their own toss a half-day to configure the pass, special attention to the command line in the space; Of course, if the user, we still develop a set of users to manage the page bar.

SharePoint 2013 Forms authentication uses the ASP. NET Configuration tool to join users

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.