IProofOfPossessionCookieInfoManager2::GetCookieInfoWithUriForAccount method (proofofpossessioncookieinfo.h)

Retrieves cookie information corresponding to the supplied WebAccount and URI. A case-sensitive string search is performed on the supplied URI. You should free the returned array by using FreeProofOfPossessionCookieInfoArray.

Syntax

HRESULT GetCookieInfoWithUriForAccount(
  IInspectable                *webAccount,
  LPCWSTR                     uri,
  DWORD                       *cookieInfoCount,
  ProofOfPossessionCookieInfo **cookieInfo
);

Parameters

webAccount

A WebAccount as IInspectable. You can obtain a WebAccount object by calling methods on WebAuthenticationCoreManager suchas FindAccountAsync and FindAllAccountsAsync.

uri

The URI to retrieve cookie information for. The URI is case-sensitive.

cookieInfoCount

The number of cookies found. *cookieInfoCount contains the number of elements in cookieInfo.

cookieInfo

A returned array of cookie information objects. You should free the returned array by using FreeProofOfPossessionCookieInfoArray.

Return value

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

Requirements

Requirement Value
Header proofofpossessioncookieinfo.h

See also

IProofOfPossessionCookieInfoManager2