从数据库创建用户时如何使用角色. [英] how to use role if create user from database.
本文介绍了从数据库创建用户时如何使用角色.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好..我想知道如果我是从数据库创建网站用户的话,该如何为我的网站使用Role?有人可以提供帮助吗?谢谢你
Hello..I want to know how can I use Role for my website if I create user for my website from database?Anyone can help?Thank you
推荐答案
您必须在这里为数据库创建Membership Schema
.
您可以按照本教程创建Membership Schema
.
在SQL Server中创建成员资格架构( VB) [ ^ ]
有关角色,请参考:
使用LoginView控件的基于角色的授权 [ ^ ]
希望对您有帮助.
一切顺利.
Here you have to createMembership Schema
for you database.
you can follow this tutorial for creatingMembership Schema
.
Creating the Membership Schema in SQL Server (VB)[^]
Then for role refer:
Role based authorization using LoginView control[^]
I hope it will help you.
All the best.
这篇关于从数据库创建用户时如何使用角色.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文