Private Declare Auto Function ConvertSidToStringSid Lib "advapi32.dll" ( _
ByVal Sid As IntPtr, _
ByRef StringSid As IntPtr _
) As Boolean
User-Defined Types:
None.
Notes:
Tips & Tricks:
Please add some!
VB.Net Sample Code:
Alternative Managed API:
The ConvertStringSidToSid function converts a string-format SID into a valid, functional SID. You can use this function to retrieve a SID that the ConvertSidToStringSid function converted to string format.
10/9/2019 12:34:03 PM - Hi-79.202.51.48
The ConvertSidToStringSid function converts a security identifier (SID) to a string format suitable for display, storage, or transmission.