Anyone has Delphi function to convert SID to Hex (string)?
What I meant with SID is the SID value of Windows account that we could retrieve using "LookupAccountName()" Win32 API.
I got some codes from here:
That converts the SID to STRING.
What I want is a HEX string ... for example:
Note that the function should be compatible with Windows 2000 and Windows 2003.