To answer your question from a more general point of view, yes, you can certainly push different commands to different clients. To do this you will either use a different group descriptor for each user or the same group descriptor with the Metadata Adapter expanding it to different items names based on the user identity (see the explanation below). Remember that In COMMAND mode an item defines a whole table (e.g. a set of stocks). This means that if different users must see different table rows, then they should subscribe to different items.

Example.
Let's imagine a typical Portoflio subscribed in COMMAND mode. Here are the relevant steps:
  1. [Client] The LightstreamerEngine is created, and the user's credentials are provided through:
    Code javascript:
    1. connection.setUserName(“alex”);
    2. connection.setPassword(“mypassword”);
  2. [Client] You add a Portfolio table template to your page and perform a corresponding subscription in COMMAND mode through an addTable(). The Table constructor will be for example:
    Code javascript:
    1. new DynaMetapushTable("portfolio", "key command stock price qty cval time", "COMMAND")
    This means that the group descriptor is “portfolio”. See DynaMetaPushTable.
  3. [Server] The Metadata Adapter receives this method call:
    Code java:
    1. getItems(“alex”, “portfolio”)
    and it responds with:
    {“alex-portfolio”}
  4. [Server] The Data Adapter receives this method call:
    Code java:
    1. subscribe(“alex-portfolio”, false)
    At this point the Data Adapter queries a DB to retrieve the current content of Alex’s portfolio, getting a list of stocks, quantities, etc.
    The Data Adapter subscribes to any stocks of that list that it is not already subscribed to.
    The Data Adapter subscribes to a topic that delivers any changes in the portfolio content for Alex.
    The Data Adapter delivers the snapshot of Alex’s portfolio (comprised of a series of “ADD” commands).
  5. [Server] Each time the Data Adapter receives an event from the stock-quote feed or from the portfolio-content feed, it consults its internal tables and delivers a command to the client, that can be “ADD”, “UPDATE” or “DELETE”.