IRTCProfile::SetCredentials
The SetCredentials method overrides the profile credentials.
HRESULT SetCredentials(BSTRbstrUserURI,
BSTRbstrUserAccount,
BSTRbstrPassword);
Parameters
- bstrUserURI
[in] The user URI. It must be a valid SIP URI. - bstrUserAccount
[in] The user account as used by the authentication process. - bstrPassword
[in] The password used by the authentication process.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
RTC_E_INVALID_REGISTRATION_STATE | The profile is already registered.
RTC 1.0 and 1.01: This return value is not supported. |
Requirements
Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Redistributable: Requires Rtcdll.dll on Windows 2000, and Windows Me/98.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCProfile is defined as d07eca9e-4062-4dd4-9e7d-722a49ba7303.