Share via


IRTCSession::RedirectedUserName (Windows CE 5.0)

Send Feedback

This method gets the displayable name of the current user in the redirection list. Use the method only when processing redirects manually, that is, the session is created using the RTCCS_FAIL_ON_REDIRECT flag.

HRESULT get_RedirectedUserName(BSTR* pbstrUserName);

Parameters

  • pbstrUserName
    [out] Pointer to a BSTR that is filled with the redirected user name, or an empty string if there is no entry.

    The method allocates the buffer.

    The caller is responsible for releasing this memory with SysFreeString.

Return Values

This method can return an RTC_E_ constant.

Remarks

The application should call IRTCSession::NextRedirectedUser before calling this method or IRTCSession::RedirectedUserUri to enumerate through the list of redirected users.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCSession | IRTCSession::NextRedirectedUser | IRTCSession::Redirect | IRTCSession::RedirectedUserURI | SysFreeString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.