Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Mar : Reading the User ID with Delphi (7 or 2006)?
| Subject: | Reading the User ID with Delphi (7 or 2006)? |
| Posted by: | "Bo Berglund" (bo.berglu..@telia.com) |
| Date: | Thu, 6 Mar 2008 01:56:01 |
I need to authenticate users of a program by reading their domain user
ID (UID or SID?) and comparing to a list of allowed users.
To do this I need to be able to read the ID of he user who is
executing the program. How can this be done?
I am using Delphi7 and BDS2007 (Delphi32).
/BoB