自动设置角色 [英] Automatically setting up Roles

查看:104
本文介绍了自动设置角色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,







我刚刚使用以下代码设置了我的网站注册例如,ASP.NET成员资格和角色提供者。代码正常,但它不会自动设置成员资格角色,我必须登录管理员端并手动设置成员资格角色。



我想成为能够在成员加入时自动设置角色,并将成员资格设置为用户角色。



任何人都可以帮忙吗?



期待很快收到您的回复。



谢谢







ASW

Hi There,



I have just setup my website registration by using the following code example, "ASP.NET Membership and Role Provider". The code is working, but it will not setup the membership roles automatically, I have to login to the admin side and set the membership roles manually.

I want to be able to have the roles setup automatically when a member joins, and the membership as a user role.

Can anyone help?

Look forward to hearing from you soon.

Thanks



ASW

推荐答案

如果您指的是ASP.NET会员和角色提供者 [ ^ ],然后请使用文章末尾的论坛与作者联系。如果没有,那么请提供一些问题的更详细信息。
If you are referring to ASP.NET Membership and Role Provider[^], then please use the forum at the end of the article to contact the author. If not then please provide some better detail of your problem.


这篇关于自动设置角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆