Hi guys. I really need your help)

I have an order data adapter on Node.js.
How can I filter information for stream by userName or sessionId from Lighstreamer Session?

For example: we have couple connections: user1, user2.
I have private info for user1, but not for user2.

I understand that metadata provider can help me, but how?

Looking forward to your reply.