Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetSecurity method gets security descriptor information for an Online Certificate Status Protocol (OCSP) responder server.
Syntax
HRESULT GetSecurity(
[in] const BSTR bstrServerName,
[out] BSTR *pVal
);
Parameters
[in] bstrServerName
A string that contains the responder-server name.
[out] pVal
Return value
C++
If the method succeeds, it returns S_OK.If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.
VB
The security descriptor information.Remarks
This method calls the ConvertSecurityDescriptorToStringSecurityDescriptor function to create a string value in Security Descriptor String Format.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only] |
Target Platform | Windows |
Header | certadm.h (include Certsrv.h) |
Library | Certadm.lib |
DLL | Certadm.dll |