如何使用C中的系统帐户获取登录的用户信息

如何使用C中的系统帐户获取登录的用户信息

问题描述:

嗨...



我使用系统帐户远程操作一个系统..

使用该帐户,我可以使用wmi连接远程安装该应用程序.

我想知道当前的登录用户信息.

如何获取登录用户详细信息.(远程计算机)

谁能帮助我..

Hi...



I operation one system remotely using system account..

Using the account i can able to install the application remotly using my wmi connection..


By i want to know the currently logon user information.

how to get the logon user details.. (Remote Machine)

can any one help me..