# Signed in

Learn how to check if a user has signed in.

This expression checks whether the user has logged in based on [Sign in](/reference/event/types/user-account/user-signed-in) events. Sign‑ins represent successful user authentication, such as logging into an account.

> **Tracking required**
>
> Make sure your app is tracking the [Sign in](/reference/event/types/user-account/user-signed-in) event before using this expression. Without this event, the expression will always evaluate to false.

## Syntax

The basic syntax for this expression is:

```cql
user has signed in
```

The negation of the expression can be expressed as:

```cql
user has not signed in
```

You can refine the expression with quantifiers and time windows:

```cql
user has signed in /*<quantifier>*/ /*<window>*/
```

## Parameters

- `quantifier`: [`Quantifier`](/reference/cql/expressions/events/quantifier) (optional)

  A quantifier to specify how many times the sign in must have occurred.

- `window`: [`TimeWindow`](/reference/cql/expressions/events/time-window) (optional)

  The time window during which the sign in must have occurred.

## Event properties

This event does not have additional properties.

## Examples

You can check whether a user has signed in:

```cql
user has signed in
```

Or check if they have not:

```cql
user has not signed in
```

You can also check how many times a user has signed in:

```cql
user has signed in at least 3 times
```

You can even filter by time, such as checking if a sign‑in happened yesterday:

```cql
user has signed in yesterday
```

Combine counts and time windows in one expression:

```cql
user has signed in at least 2 times this week
```

> **Scale plan**
>
> This feature is available only to accounts on the Scale plan. See the [pricing page](https://croct.com/pricing) for more information.

## Explore

- [Audiences](/explanation/audience): Understand how to delivery content to specific groups of users.
- [Event tracking](/reference/event/types/user-account/user-signed-in): Learn how to track this event.
