如何使用Windows 2003/2008服务器的Active Directory在Windows窗体应用程序中限制用户的访问级别. [英] How to limit the level of access a user has with in a Windows forms application using Windows 2003/2008 server’s Active Directory.

查看:93
本文介绍了如何使用Windows 2003/2008服务器的Active Directory在Windows窗体应用程序中限制用户的访问级别.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种在基于VB.NET Windows窗体的应用程序中而非基于Web的应用程序中使用Active Directory的安全性的方法.程序访问级别将不基于登录到计算机的当前用户.而是从程序中提示用户输入其网络用户名和密码,而Active Directory将用于确定用户将在程序中访问的功能.对于关键数据输入,登录弹出窗口将要求管理者输入其网络用户名和密码以进行更改.

I am looking for a way to use Active Directory for security in a VB.NET Windows form based application, not web based. The program access level will NOT be based on the current user logged into the computer. Instead the user would be prompted for their network user name and password from within the program, the Active Directory would be used to determine the features the user would have access to within the program. For critical data entry a login popup would require a supervisor to enter their network user name and password for the change to be made.

推荐答案

看看系统. DirectoryServices.ActiveDirectory命名空间,前一段时间我只是将其用于一个小型项目.

您可以在此处看到有很多方法可以使用.

问候.
Have a look at the System.DirectoryServices.ActiveDirectory namespace, I just used it for a small project some time ago.

You can see here that there are pretty many methods to work with.

Greets.


这篇关于如何使用Windows 2003/2008服务器的Active Directory在Windows窗体应用程序中限制用户的访问级别.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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