I need to send SignalR message to the specific user id not all the clients who connected to the Azure SignalR service in Serverless mode. Below is the code where I want to set user id.
```
[FunctionName("ProcessUpdate")]
public static void Test([ServiceBusTrigger(topicName: "test", subscriptionName: "test", Connection = "AzureServiceBusConnectionString")] ServiceBusReceivedMessage message,
[SignalR(HubName = "Notification")] IAsyncCollector<SignalRMessage> signalrMessageCollector, ILogger logger)
{
var signalrMessage = new SignalRMessage()
{
UserId = //assign authenticated user id
Target = "receiveUpdate",
Arguments = new[] { message.Body.ToString() }
};
signalrMessageCollector.AddAsync(signalrMessage);
}
```
I checked the documentation here
https://learn.microsoft.com/en-us/azure/azure-signalr/signalr-concept-serverless-development-config
It does not say how to access the user Id from Negotiate function in other azure functions that are event handlers for sending SignalR messages to clients.
I tried to use SignalRConnectionDetail sdk code in the output binding.Its not working mostly it seems that its part of the input binding.