Windows用户身份验证 [英] Windows User Authentication

查看:105
本文介绍了Windows用户身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我正在解决应用程序的维护方面的问题.它使用System.Security.Principal.WindowsIdentity.GetCurrent()获取当前用户信息.根据某些会员资格允许或拒绝他们的访问 组.问题是一堆用户目前是一个特殊组的成员,与我所看到的有关 ActiveDirectory.msc,但是  VB.Net 2010应用程序无法获得其名称或任何对应关系以授予其访问权限并让他们运行它.我想知道是否有人可以说VB.Net和ActiveDirectory之间的映射是否存在任何问题.

I am working on the maintenance side of an application that I need to fix a problem of that. It uses System.Security.Principal.WindowsIdentity.GetCurrent() to get the current user info. to permit or reject their access based on their membership in some groups. The problem is a bunch of users who are currently members of a special group regarding what I see by ActiveDirectory.msc, but the  VB.Net 2010 application cannot get their name or any correspondence to give their access permission and let them run it. I was wondering if anybody can say whether there is any problem in mapping between VB.Net and the ActiveDirectory.

谢谢

推荐答案

公开Active Directory功能的System.DirectoryServices命名空间.

There is the System.DirectoryServices Namespace that exposes the Active Directory functions.

查看有关如何吸引群组用户的讨论:

Check this discussion on how to get users of a group:

http://stackoverflow.com/questions/14710383/how-do-i-get-the-users-that-belong-to-a-group-in-active-directory t


这篇关于Windows用户身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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