Role details provider

Source: Internet
Author: User

The previous blog specifically introduced the provider of membership,

In fact, compared with the membership provider,

Role's provider does not seem to be anything,

There are not so many attribute settings as membership provider does,

In addition to several customizable attribute configurations, there are almost no other configurations under role,

Therefore, it is relatively simple,

Of course, I'm talking about the attribute configuration when setting in IIS,

In fact, if you directly configure the rolemanager section in Web. config,

There are still many attribute configurations that need attention,

First, to use the role function, you must first enable the role function,

There are several ways to enable it,

Use web. config to configure,

Use ASP. NET Website management tools for visual configuration,

After role is enabled, you can see the following configuration in Web. config,

Then, you can directly use ASP. NET Website management tools to create and manage the role,

I have previously introduced ASP. NET Website management tools (also introduced the role content)

After the role is enabled, let's take a look at its provider,

The default provider is aspnetsqlroleprovider,

Of course, you can also add a custom provider,

Well, I 've talked so much nonsense (in my opinion, the blog question is too big)

For the real introduction and use of role, start from the next blog.

2010-2-07

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.