从XP中读取用户列表 [英] Reading a list of users from XP
本文介绍了从XP中读取用户列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用VS 2005(VB.NET),我希望获得一个列表,其中包含
在服务器上拥有帐户的所有用户。我怎么能这样做并用
填充一个列表框?
提前谢谢
解决方案
这不是一个WMI / WBEM查询吗?
-Aaron
sam smith写道:
< blockquote class =post_quotes>
我正在使用VS 2005(VB.NET),我希望获得一个列表,其中包含
在服务器上拥有帐户的所有用户。我怎么能这样做并用
信息填充一个列表框?
提前谢谢
您使用的是Active Directory吗?
我在工作中使用相当简单的代码完成了这项工作。它适用于服务器
2003和XP。
不幸的是,源代码正在工作,我不记得我是怎么做的
它!!
但是,我确实记得它使用了Active Directory类型的功能 - 甚至
虽然我们在工作时根本不使用AD。
如果没有人在接下来的24小时内回复,我会给你我的代码!!
__________________________
收割者
" sam smith" < sa*@yada.com写信息
新闻:ez ************** @ TK2MSFTNGP03.phx.gbl ...
>我正在使用VS 2005(VB.NET),我希望获得在服务器上拥有帐户的所有用户的列表。我怎么能这样做并用
信息填充一个列表框?
提前致谢
I am using VS 2005 (VB.NET) and I would like to get a list of all users who
have accounts on the server. How can I do this and populate a listbox with
the information?
Thanks in advance
解决方案
isn''t that juse a WMI / WBEM query?
-Aaron
sam smith wrote:I am using VS 2005 (VB.NET) and I would like to get a list of all users who
have accounts on the server. How can I do this and populate a listbox with
the information?
Thanks in advance
Are you using Active Directory?
I have done this, at work, using fairly simple code. It works on Server
2003 and XP.
Unfortunately, the source code is at work and I can''t remember how I did
it!!
However, I do remember that it used an Active Directory type function - even
though we don''t use AD at all at work.
If no-one''s replied in the next 24 hours, I''ll give you my code!!
__________________________
The Reaper
"sam smith" <sa*@yada.comwrote in message
news:ez**************@TK2MSFTNGP03.phx.gbl...>I am using VS 2005 (VB.NET) and I would like to get a list of all users who
have accounts on the server. How can I do this and populate a listbox with
the information?
Thanks in advance
这篇关于从XP中读取用户列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文