On Fri, 28 Jan 2005 05:51:06 -0500, Hannu wrote
(in article <e6**************************@posting.google.com>) :
hi.
I get user id of access into my field by using CurrentUser object. How
do I get user id of windows into my field? Is there any way to do it?
Hannu
Hi Hannu -
You can use the Windows API function GetUserName in a VB function. The
documentation is here:
http://msdn.microsoft.com/library/de...l=/library/en-
us/sysinfo/base/getusername.asp
Additionally, there was a thread about this on comp.lang.basic.visual.m
isc a while ago, you can check it out here:
http://tinyurl.com/4qp77
(Message-ID: <6p**********@nnrp1.dejanews.com>#1/1)
HTH.
--chris