简体   繁体   中英

Getting the Novell Username in a WPF application?

I'm currently developing a small application in WPF for us at work though I'm not a professional software engineer, so this might be obvious. However, I cannot find an answer to my question (maybe I used the wrong keywords) Anyway, our computers are setup so that we need to log on through Novell Client for Windows. The password from the Novell account is synced with the Windows 'Administrator' account. Thus, effectively, everyone is Administrator on his machine. Novell is used to authenticate against a local Fileserver.

The problem now is, when I try to get the Username in my application using Environment.Username or any other method, I will only ever get 'Administrator' as the logged in user.

Question: How can I get the Novell username from my WPF application?

Thanks in advance

答案有点晚了,但是我相信如果您进行搜索,则会在Windows注册表中找到登录到Netware或NDS的当前用户的名称。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM