阅读背景:

在Windows中使用或不使用域登录用户名

来源:互联网 

Is there a direct API to get the currently logged in user's name with the domain? So, it would return something like "domain\user" when a machine is on the domain, but at the same time it would return "user" when the machine is not on the domain? If there's not, what's the best way to get this information?Is there a direct API to get the currently logg




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: