3.2.4.11.18 GetSecurity (Opnum 24)

The GetSecurity method retrieves the system-wide security descriptor of the provider.

 HRESULT GetSecurity(
   [in] ULONG SecurityInfo,
   [out, retval] BSTR* Sddl
 );

SecurityInfo: Identifies the object related security information, using the Security Descriptor Description Language (SDDL), as specified in [MS-DTYP] section 2.5.1.

Sddl: String that describes the security descriptor for the object, as specified in [MS-DTYP].

Return Values: This method MUST return an HRESULT with the severity bit clear on success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.