xc,
You would make a call to the LogonUserEx function through the P/Invoke
layer. You can find the declaration on
http://www.pinvoke.net
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"xc" <ne**@microsoft.com> wrote in message
news:uv**************@TK2MSFTNGP14.phx.gbl...
IŽd like to ensure that the user that will connect to my program is
tthe same as authenticated in my windows.
Ex: I have user login frame and i want to ensure that the user name ,
login
and domain are the same logged in the local computer. Understand??
Thanks