[MS-RAI] Remote Assistance Initiation Protocol : GetNoviceUserInfo issue

Navržená odpověď [MS-RAI] Remote Assistance Initiation Protocol : GetNoviceUserInfo issue

  • 1. srpna 2012 14:25
     
     

    Hi,

    This is regarding the API mentioned as part of Remote Assistance Initiation Protocol : GetNoviceUserInfo (http://msdn.microsoft.com/en-us/library/cc240177(v=prot.10).aspx). We are trying to get the Remote Assistance Connection String 2 through this API. We first make a call to GetSessionInfo which returns something like { "domain1\user1:5", "domain1\user2:6" }. It is not clear from the protocol specification about what exactly needs to be passed to the GetNoviceUser API? We have tried various combinations like passing - just the session id (5 or 6 in above case), a string in the Remote Assistance Connection String 2 format ("<E><A><C><T SID="6"></T></C></A></E>" in above case). No matter what is passed, we are always getting the connection string for the first session. Request you to clarify the parameter for this API and if the issue of always getting the connection string for the first session is a bug with Windows Remote Assistance implementation.

    Thanks
    Sai

Všechny reakce

  • 1. srpna 2012 17:55
    Moderátor
     
     

    Hi Sai P,

    Thanks for your question.

    Someone from our team will get in touch with you shortly.

    Thanks!


    SEBASTIAN CANEVARI - MSFT Escalation Engineer Protocol Documentation Team

  • 2. srpna 2012 19:33
    Moderátor
     
     Navržená odpověď

    Sai,

    GetNoviceUserInfo doesn’t take an input parameter; it inherits/assumes the session number according to the terminal services session number on which it was received.  Thank you for bringing this issue to our attention; we are updating the documentation to provide more clarity in this regard.


    Bryan S. Burgin Senior Escalation Engineer Microsoft Protocol Open Specifications Team

  • 3. srpna 2012 12:55
     
     

    Hi Bryan,

    Thank you for the response. This explains why we are always getting the first session logged into the machine. To give you a bit mote context, we are developing a c# web service which needs to get the list of all sessions (using GetSessionInfo) on a remote machine and retrieve the remote assistance connection string (using GetNoviceUserInfo) of the session for a specific user. We have been making both the calls on the same interface which is defaulting to the first session.

    Can you explain how we can make the second call on a specific session? It would be great if you can point us to a C#.NET example to achieve the same.

    Thanks once again.

    -Sai


    • Upravený Sai P 3. srpna 2012 14:34
    •  
  • 6. srpna 2012 22:36
    Moderátor
     
     

    There is not a mechanism to do what you are attempting.


    Bryan S. Burgin Senior Escalation Engineer Microsoft Protocol Open Specifications Team