[DllImport("advapi32.dll", SetLastError=true)]
static extern TODO LookupAccountSid(TODO);
VB Signature:
Declare Function LookupAccountSid Lib "advapi32.dll" (TODO) As TODO
User-Defined Types:
None.
Notes:
None.
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
The LookupAccountSid function accepts a security identifier (SID) as input. It retrieves the name of the account for this SID and the name of the first domain on which this SID is found.