title: In Azure SignalR Serverless mode, how to map connection ids to users?
body: <p>All the documentation I've seen so far show how to map connection ids to users via the Hub's <code>OnConnected</code>/<code>OnDisconnected</code> methods. But how can I do this in a <strong>Serverless</strong> setup? Is it at all possible in Azure Functions?</p>
  
  <p>I have implemented the <code>negotiate</code> endpoint, so I have access to <code>SignalRConnectionInfo</code>. I have a Send method with a <code>SignalR</code> output binding, to which I can add an instance of <code>SignalRMessage</code>, which then gets broadcast to all connected clients. The <code>SignalRMessage</code> class does have <code>UserId</code> and <code>GroupName</code> properties, so I believe it must be possible to specify a user or a group to send the message to.</p>