<div class="content"><p>The GetSecurity method retrieves the system-wide security
descriptor of the provider.</p><dl>
<dd>
<div><pre> HRESULT GetSecurity(
   [in] ULONG SecurityInfo,
   [out, retval] BSTR* Sddl
 );
</pre></div>
</dd></dl><p><b>SecurityInfo: </b>Identifies the object related
security information, using the Security Descriptor Description Language
(SDDL), as specified in <a href="../ms-dtyp/cca27429-5689-4a16-b2b4-9325d93e4ba2" data-linktype="relative-path">[MS-DTYP]</a>
section <a href="../ms-dtyp/4f4251cc-23b6-44b6-93ba-69688422cb06" data-linktype="relative-path">2.5.1</a>.</p><p><b>Sddl: </b>String that describes the security
descriptor for the object, as specified in [MS-DTYP].</p><p><b>Return Values: </b>This method MUST return an
HRESULT with the severity bit clear on success as specified in <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>;
otherwise, it MUST return one of the errors as defined in <a href="590752a5-ddc3-49e4-9914-147a90bd0193" data-linktype="relative-path">2.2.1</a> or one of the errors
as defined in [MS-ERREF] section <a href="../ms-erref/0642cb2f-2075-4469-918c-4441e69c548a" data-linktype="relative-path">2.1</a>.</p></div>