?
Solved

Getting Windows-NT username at login-script level

Posted on 1999-01-18
3
Medium Priority
?
150 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month8 days, 14 hours left to enroll

764 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