The get_RedirectedUserURI property gets the URI of the current user in the redirection list.

This is used only when the redirects are processed manually (the session is created using the RTCCS_FAIL_ON_REDIRECT flag).

HRESULT get_RedirectedUserURI(BSTR*pbstrUserURI);


  • pbstrUserURI
    [out] Pointer to a BSTR containing the SIP URI. The caller is responsible for freeing this memory with SysFreeString.

Return Values

RTC methods may return an RTC_E_ constant.


The application should call IRTCSession::NextRedirectedUser before calling get_RedirectedUserURI or IRTCSession::get_RedirectedUserName to enumerate through the list of redirected users.


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_IRTCSession is defined as 387c8086-99be-42fb-9973-7c0fc0ca9fa8.

See Also

IRTCSession, IRTCSession::Redirect, IRTCSession::get_RedirectedUserName