Solved

Getting Windows-NT username at login-script level

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

728 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