如何在Windows应用程序中使用C#获取网络中的用户类型 [英] how can get user types in a network with c# in windows application
本文介绍了如何在Windows应用程序中使用C#获取网络中的用户类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好
我想通过Windows应用程序中的C#代码获取网络中的用户类型(我是指Admin还是普通用户).
现在我可以从活动目录中获取用户名.
请帮帮我.
谢谢.
hello
I want to get the types of users(i mean Admin or normal user) in a network by C# code in a windows application.
now i can get users names from active directory.
please help me.
thanks.
推荐答案
这是一篇有关AD查询 ^ ]
Here''s one excellent article about AD queries Howto: (Almost) Everything In Active Directory via C#[^]
另一个有用的链接- ^ ].
Another useful link - http://milanl.blogspot.com/2008/08/retrieve-full-name-from-active.html[^].
这篇关于如何在Windows应用程序中使用C#获取网络中的用户类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文