IHttpNegotiate2::GetRootSecurityId method

Gets a root security ID.


HRESULT GetRootSecurityId(
  [out]     BYTE      *pbSecurityId,
  [in, out] DWORD     *pcbSecurityId,
  [in]      DWORD_PTR dwReserved


  • pbSecurityId [out]
    A pointer to a buffer of type BYTE that receives the root security ID.

  • pcbSecurityId [in, out]
    A pointer to a value of type DWORD that specifies the size of the buffer that receives the security ID. After IHttpNegotiate2::GetRootSecurityId is called sucessfully, this parameter contains the actual size of the security ID.

  • dwReserved [in]

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.


Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003


Internet Explorer 4.0

See also