# Identified tests

Learn how to check if the user is identified.

This test checks whether the user is identified, that is, whether they have logged in or signed up. It is the opposite of the [anonymous test](/reference/cql/expressions/tests/user-session/anonymous).

Users are identified after they log in or sign up and remain identified until they log out. Before logging in and after logging out, they are anonymous.

> **Tracking required**
>
> This test uses the signed-in, signed-up, and signed-out events to determine whether the user is identified. Without it, the user is treated as anonymous.

### Syntax \[#identified-syntax]

This test has the following syntax:

```cql
/*<user>*/ is identified
```

To negate the test, you can write:

```cql
/*<user>*/ is not identified
```

Consider using the [anonymous test](/reference/cql/expressions/tests/user-session/anonymous) instead of negating this test for better readability.

### Parameters \[#identified-parameters]

These are the supported parameters:

- `user`: [`User`](/reference/cql/data-types/user/user)

  The user to check whether they are identified.

### Examples \[#identified-examples]

You can check whether a user is identified like this:

```cql
user is identified
```
