There is an API function (see Platform SDK)
The function is:
GetUserName
Also there is an example provided.
I am not sure about MS Access but using VB but you shoud have no problems using it from VB.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Thread: Can I get user from windows ?Threaded View
|
Click Here to Expand Forum to Full Width |