Createuserwizard中的动态角色提供程序 [英] Dynamic Role Provider in Createuserwizard

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

问题描述

我有一个项目,其中有4个级别的用户
管理员(网站所有者)
员工(网站员工)
人力资源(公司的人力资源)
外籍人士(外籍人士(员工属于特定HR))
只有管​​理员才能创建所有用户.
我使用了登录控件,但创建用户向导"中的角色"没有控件如何创建该控件.

I have a project in which 4 levels of users are there
Administrator (Site owner)
Employee (Employee for the site)
HR (HR for a company)
Expat (Expats(Employees blongs to particular HR))
only Administror creates all the users.
i used the login controls but there is no control for Role in create userwizard how to create that one.

推荐答案

此选项在创建用户向导中不存在.

为此,您将不得不使用ASP.NET站点配置,在那里您将拥有针对不同用户的管理角色选项.


请参阅下面的链接以获取更多详细信息

http://www.4guysfromrolla.com/articles/121405-1.aspx [ ^ ]
This option is not present in create user wizard.

for this you will have to use ASP.NET site configuration, there you will have manage roles option for different users.


Refer the below link for more details

http://www.4guysfromrolla.com/articles/121405-1.aspx[^]


这篇关于Createuserwizard中的动态角色提供程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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