Creating "Me" Queries

StarTeam has the capability of creating "Me" queries that allow a query to be set up which is evaluated against the currently logged in user ("Me"), rather than having to specify a specific username at the time of query creation.

  1. Select a folder from the folder tree.
  2. Click a component tab.
  3. Choose Filters > Queries .
    The Queries dialog box opens.
  4. Click New.
    The New Query dialog box opens.
  5. Type a name for the query in the Query Name field.
  6. Select the Public check box to add this query to the project (and the server configuration), allowing anyone with the appropriate access rights to use it. If you do not check the Public check box, the query will be private, that is, available only to your user ID.
  7. Select Created By for the Field in the Condition Node area. Select Equals for the Operator, and select Me in the Value list. Click Add to place this condition in the Query tree.

    By default, the Query tree contains the AND operator as the root of the tree, which you cannot delete. If there is only one condition, StarTeam ignores the logical operator.

  8. Click Save. The Queries dialog box now contains your new query enabling you to select it for querying data.