IXFeed2::Username Method

New for Internet Explorer 8

Retrieves the user name that is used to authenticate the feed.

Syntax

HRESULT Username(
    LPWSTR *ppszUsername
);

Parameters

  • ppszUsername
    [out]  The string that receives the user name.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Use IXFeed2::SetCredentials to store the user name and password, and IXFeed2::ClearCredentials to remove them.

See Also

IXFeed2::Password