Home | Shorter Path | About Me
Home
About Me

Archive

2004

01

02

03

04

05

06

07

08

09

10

11

12

 

2005

01

02

03

04

05

06

07

08

09

10

11

12

 

2006

01

02

03

04

05

06

07

08

09

10

11

12


SID

Tuesday, April 06, 2004 12:36 AM

I meant to write about this but forgot. Then I remembered, so here it is.

Someone has asked in the Borland newsgroups for a Delphi program that:

  • Displays a simple form with one button on it.
  • When the button is pressed the program will show the user's SID as a string.
  • Will not use the ConvertSidToStringSid function because it is only supported in Windows 2000 and higher.

It looked like a fun exercise, and I had some code I could use, so I wrote it and posted the link (which caused some confusion, since I gave the solution for free while the original poster offered to pay). Anyway, if you're interested, here it is (the ZIP file contains the source code and the compiled executable).

Copyright 2004 Yorai Aminov