?
Solved

Getting Windows-NT username at login-script level

Posted on 1999-01-18
3
Medium Priority
?
152 Views
Last Modified: 2010-05-18
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.
0
Comment
Question by:vandermeer
  • 2
3 Comments
 

Author Comment

by:vandermeer
ID: 1362364
Adjusted points to 500
0
 
LVL 13

Accepted Solution

by:
Epsylon earned 2000 total points
ID: 1362365
If the security Identifier (SID) at that moment you can use LookupAccountSid
0
 

Author Comment

by:vandermeer
ID: 1362366
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

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question