如何通过Intranet用域用户ID连接到网站 [英] how to connect to web site with domain user ID via intranet

查看:61
本文介绍了如何通过Intranet用域用户ID连接到网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个通过Intranet的网站,我希望我的用户通过他们的域用户ID连接到我的网站,如何做到这一点,以及如何让他们扮演不同的角色?我尝试将他们的用户名放在登录页面的用户名文本框中,但在后面的代码中,文本框的ID无效,该怎么办?

I have a website via intranet and I want my user to connect to my site via their domain user ID and how can do this and how can I put them in different roles? I try to put their user name in the username text box in login page but in the behind code the ID of text box does not active to work with that what can I do ?

推荐答案

您应该使用ActiveDirectoryMembership提供程序.
You should use ActiveDirectoryMembership provider.


这篇关于如何通过Intranet用域用户ID连接到网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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