Hi,
You can use :
WindowsIdentity .GetCurrent().N ame
It return the user logged on the system.
Hope this help,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Homauoon" <hm********@yah oo.com> wrote in message
news:03******** *************** *****@phx.gbl.. .
Dear sir
I want to get current user name from system
(in windows applications) by using WNetGetUser
function from Mpr.lib.
Please help me.
Thanks