如何在登录用户中获取当前用户? [英] How to get current user in login users?

查看:99
本文介绍了如何在登录用户中获取当前用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可以在登录用户中获取当前用户的API?


我的意思是:


userA(登录), userB(登录和正在使用),userC(注销)


我想在userA中运行进程时获得userB。


解决方案

http://stackoverflow.com/questions/1240373/how-do-i-get-the-current-username-in-net-using-c

Is there an API that can get current user in login users?

I mean:

userA(login), userB(login and being use), userC(logout)

I want get userB even when process running in userA.

解决方案

http://stackoverflow.com/questions/1240373/how-do-i-get-the-current-username-in-net-using-c


这篇关于如何在登录用户中获取当前用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆