IConnectedIdentityProvider::GetUrl method (identityprovider.h)

Returns the URL string for the specified wizard or webpage.

Syntax

HRESULT GetUrl(
  [in]  IDENTITY_URL Identifier,
  [in]  IBindCtx     *Context,
  [out] VARIANT      *PostData,
  [out] LPWSTR       *Url
);

Parameters

[in] Identifier

Identifies the wizard or webpage that should be returned.

[in] Context

Describes the context in which the URL will be displayed.

[out] PostData

A VARIANT of type VT_ARRAY and VT_UI1 that will be posted to the provided URL. If the post data is not required, this parameter should be set to VT_EMPTY.

[out] Url

Returns a URL for the specified identity wizard or webpage. The URL must begin with https://.

Return value

If the method succeeds, the method returns S_OK.

If the method fails, the method returns a Win32 error code.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header identityprovider.h

See also

IConnectedIdentityProvider