Share via


IRTCSession::get_RedirectedUserName

The get_RedirectedUserName property gets the displayable name of the current user in the redirection list. This is used only when the redirects are processed manually; that is, when the session is created using the RTCCS_FAIL_ON_REDIRECT flag.

HRESULT get_RedirectedUserName(BSTR*pbstrUserName);

Parameters

  • pbstrUserName
    [out] Pointer to a BSTR containing the redirected user name. The caller is responsible for freeing this memory with SysFreeString.

Return Values

RTC methods may return an RTC_E_ constant.

Remarks

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

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

See Also

IRTCSession, IRTCSession::Redirect, IRTCSession::get_RedirectedUserURI