Solved

Getting Windows-NT username at login-script level

Posted on 1999-01-18
3
140 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
Comment Utility
Adjusted points to 500
0
 
LVL 13

Accepted Solution

by:
Epsylon earned 500 total points
Comment Utility
If the security Identifier (SID) at that moment you can use LookupAccountSid
0
 

Author Comment

by:vandermeer
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now