HRESULT GetSecurityDescriptor (
LONG lSecurityInfo, VARIANT_BOOL bBinary, VARIANT *pvSecurityDescriptor);
Parameters
lSecurityInfo
Long value that specifies security information.
bBinary
Boolean value that determines whether you get the security
descriptor in binary form.
Return Value
vSecurityDescriptor
Reference to an FPCSecurityDescriptor object. If you
specify that the security descriptor is in binary form, this is a
reference to a Win32 security descriptor in self-relative format.
For more information on Win32 security descriptors, see MSDN.
Remarks
This method uses related Windows functionality. For more
information, see GetSecurityInfo in MSDN.