Hi vinayms01,
A typical example of Personal messages (unicast) is the "Basic Messenger Demo"; please find the full code from GitHub:
https://github.com/Lightstreamer/Lightstreamer-example-Messenger-client-javascript
In this case each client subscribes directly to a personalized item:
https://github.com/Lightstreamer/Lightstreamer-example-Messenger-client-javascript/blob/master/src/index.html#L202
But an alternative could be that all clients subscribe to the same Item; but through the getItems method (
https://sdk.lightstreamer.com/ls-adapter-inprocess/7.3.0/api/com/lightstreamer/interfaces/metadata/MetadataProvider.html#getItems(java.lang.String,java.lang.String,java.lang.String)) of the Metadata Adapter this is transformed into a personal item simply by adding a suffix (or prefix) identifying the user.
In your case could be the id.
Regards,
Giuseppe