Windows Management Instrumentation (WMI)

Learn SID of user accounts

wmic useraccount get name,sid

Example for Delphi: http://www.magsys.co.uk/delphi/magwmi.asp

Advertisements