Sets the user name and password used to authenticate the feed.
HRESULT SetCredentials( LPCWSTR pszUsername, LPCWSTR pszPassword );
- [in] A string that contains the user name.
- [in] A string that contains the password.
Returns S_OK if successful, or an error value otherwise.
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.