Share via


IFeed2::Username Property

New for Internet Explorer 8

Retrieves the user name used to authenticate the feed.

Syntax

HRESULT IFeed2::get_Username(BSTR *username);

Parameters

  • username
    Pointer to a variable of type BSTR that receives the user name.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Use IFeed::SetCredentials to store the user name, and IFeed::ClearCredentials to remove it.