Compartilhar via


SetCredentials Method

New for Internet Explorer 8

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

Syntax

Feed.SetCredentials(bstrUserName, bstrPassword)

Parameters

bstrUserName Required. String that specifies the user name.
bstrPassword Required. String that specifies the password.

Return Value

No return value.

Remarks

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

User name and password are required. If either parameter is null or empty, the call will fail. To clear credentials, use ClearCredentials.

Note   Credentials are not removed when Internet Explorer 8 is uninstalled. They are removed when the feed is deleted.

Applies To

Feed