Getting Windows-NT username at login-script level

I need to know the Windows-NT username from a win95 client that logs on to a winNT network. I need the username at login-script level, the getusername() does not work at this time. After the login-scipt has finished the getusername() function works fine.
vandermeerAsked:
Who is Participating?
 
EpsylonConnect With a Mentor Commented:
If the security Identifier (SID) at that moment you can use LookupAccountSid
0
 
vandermeerAuthor Commented:
Adjusted points to 500
0
 
vandermeerAuthor Commented:
Hello Epsylon,

Thanks for your answer. Can you please help me out how I call this function in Delphi. My MAPI-programming is not that good. Thanks for helping me out.

vandermeer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.