Share via


IRTCProfile::SetCredentials

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method overrides the profile credentials.

Syntax

HRESULT SetCredentials(
  BSTR bstrUserURI,
  BSTR bstrUserAccount,
  BSTR bstrPassword
);

Parameters

  • bstrUserURI
    [in] The user URI. It must be a valid SIP URI.
  • bstrUserAccount
    [in] The user account used by the authentication process.
  • bstrPassword
    [in] The password used by the authentication process.

Return Value

This method can return an RTC_E_ constant. The following table shows additional information about a specific return value.

Value Meaning

RTC_E_INVALID_REGISTRATION_STATE

The profile is already registered.

Requirements

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IRTCProfile