# ShowConsentDialogIfNeededOrRejected

### Overview <a href="#markdown-header-overview" id="markdown-header-overview"></a>

Presents the consent screen if it is required by the used CMP (i.e. no user consent has been set yet) or the user has rejected the consent.

### Syntax <a href="#markdown-header-syntax" id="markdown-header-syntax"></a>

```csharp
ShowConsentDialogIfNeededOrRejected(int daysAgo)
```

**returns&#x20;**_**void**_

### Examples <a href="#markdown-header-examples" id="markdown-header-examples"></a>

```csharp
AATKitBinding.ShowConsentDialogIfNeededOrRejected(30);
```
