Solved

Getting Windows-NT username at login-script level

Posted on 1999-01-18
3
145 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 500 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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 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