当我锁定电脑时,它说:只有network\username(Derek M. Martin) .... bla bla bla 我需要的是Derek M Martin出来。 你能帮忙吗?再次感谢您的回复! Derek " Ken Tucker [MVP]" < VB *** @ bellsouth.net>在消息中写道 news:eC **************** @ TK2MSFTNGP15.phx.gbl ...Thank you for your reply Ken, however, none of these appear to get me whereI need. For instance, my DN is this:CN=Derek M. Martin,OU=support,OU=users,OU=level,DC=dc,DC=domai n,DC=comWhen I lock the computer, it says: Only network\username (Derek M. Martin).... bla bla blaWhat I need is Derek M Martin to come out.Can you assist? Thanks again for the reply!Derek"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in messagenews:eC****************@TK2MSFTNGP15.phx.gbl... Systeminformation.username,systeminformation.userdomain, environment.username,environment.userdomain Ken ----------- -------- Derek Martin < DM ***** @ DONTSPAMMEokstateDOT.edu>在消息中写道新闻:ux ************* @ TK2MSFTNGP10.phx.gbl ... 使用VB.Net,我想检索当前登录的来自Active Directory的用户DN。或者,如果使用WindowsIdentity或类似的东西,我想获得用户的全名在()的工作站锁定屏幕上。 有谁知道怎么做?唯一的限制:没有使用设计允许的ActiveDS.dll。 非常感谢! Derek - Derek马丁 593074 Hi, Systeminformation.username, systeminformation.userdomain, environment.username, environment.userdomain Ken ------------------- "Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> wrote in message news:ux*************@TK2MSFTNGP10.phx.gbl... Using VB.Net, I would like to retrieve the currently logged in user''s DN from Active Directory. Alternatively, if, using WindowsIdentity, or something similar, I would like to get the user''s full name that is found on the Workstation Locked screen between the ( )''s. Does anyone know how to do that? The only constraint: no use of ActiveDS.dll permitted by the design. Many thanks! Derek -- Derek Martin 593074没人知道怎么做??? :-( " Derek Martin" dm ***** @ DONTSPAMMEokstateDOT.edu>写在留言中 新闻:%2 ****** ********** @ TK2MSFTNGP11.phx.gbl ...Does no one know how to do this??? :-("Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> wrote in messagenews:%2****************@TK2MSFTNGP11.phx.gbl...感谢您的回复肯,然而,这些似乎都没有让我我需要的地方例如,我的DN是这样的: CN = Derek M. Martin,OU =支持,OU =用户,OU =等级,DC = dc,DC = domai n,DC = com ... bla bla bla 我需要的是Derek M Martin出来。 你能帮忙吗?再次感谢你的回复! Derek " Ken Tucker [MVP]< vb ** *@bellsouth.net>在留言中写道新闻:eC **************** @ TK2MSFTNGP15.phx.gbl ... Thank you for your reply Ken, however, none of these appear to get me where I need. For instance, my DN is this: CN=Derek M. Martin,OU=support,OU=users,OU=level,DC=dc,DC=domai n,DC=com When I lock the computer, it says: Only network\username (Derek M. Martin) ... bla bla bla What I need is Derek M Martin to come out. Can you assist? Thanks again for the reply! Derek "Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message news:eC****************@TK2MSFTNGP15.phx.gbl...你好, Systeminformation.username,systeminformation.userdomain, environment.username,environment.userdomain Ken --------- ---------- 德里克玛特在" < DM ***** @ DONTSPAMMEokstateDOT.edu>在消息中写道新闻:ux ************* @ TK2MSFTNGP10.phx.gbl ... 使用VB.Net,我想检索当前登录的来自Active Directory的用户DN。或者,如果使用WindowsIdentity或类似的东西,我想获得用户的全名在()的工作站锁定屏幕上。 有谁知道怎么做?唯一的限制:没有使用设计允许的ActiveDS.dll。 非常感谢! Derek - Derek马丁 593074 Hi, Systeminformation.username, systeminformation.userdomain, environment.username, environment.userdomain Ken ------------------- "Derek Martin" <dm*****@DONTSPAMMEokstateDOT.edu> wrote in message news:ux*************@TK2MSFTNGP10.phx.gbl... Using VB.Net, I would like to retrieve the currently logged in user''s DN from Active Directory. Alternatively, if, using WindowsIdentity, or something similar, I would like to get the user''s full name that is found on the Workstation Locked screen between the ( )''s. Does anyone know how to do that? The only constraint: no use of ActiveDS.dll permitted by the design. Many thanks! Derek -- Derek Martin 593074 这篇关于获取用户的DN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 07-24 02:41