IOCSPAdmin::GetSecurity method

The GetSecurity method gets security descriptor information for an Online Certificate Status Protocol (OCSP) responder server.

Syntax


Function GetSecurity( _
  ByVal bstrServerName, _
  ByRef pVal _
)

Parameters

bstrServerName [in]

A string that contains the responder-server name.

pVal [out]
A pointer to a string that contains the security descriptor information.

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only]

Header

Certadm.h (include Certsrv.h)

IDL

Certadm.idl

Library

Certadm.lib

DLL

Certadm.dll

IID

IID_IOCSPAdmin is defined as 322E830D-67DB-4FE9-9577-4596D9F09294

See also

IOCSPAdmin

 

 

Community Additions

ADD
Show:
© 2014 Microsoft