Export (0) Print
Expand All

IXFeed2::SetCredentials Method

New for Internet Explorer 8

Sets the user name and password used to authenticate the feed.

Syntax


HRESULT SetCredentials(
    LPCWSTR pszUsername,
    LPCWSTR pszPassword
);

Parameters

pszUsername
[in]  A string that contains the user name.
pszPassword
[in]  A string that contains the password.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method will set or update the user name and password stored in the Credential Manager for the feed.

The user name and password are required for the feed property dialog. If the pszUsername parameter is either NULL or an empty string, the credentials will be cleared and the call will fail.

Note    Credentials will not be removed when Internet Explorer 8 is uninstalled. They will be removed when the feed is removed from structured storage.

See Also

IXFeed2::ClearCredentials

Community Additions

ADD
Show:
© 2014 Microsoft