# User:Is

Anything inside the `user:is` tag will only be rendered if the user has a specific role.

## Overview

User tags are designed for sites that have areas or features behind a login. The `user:is` tag is used to check if the currently logged in user has a one or more specific [roles](/roles.md).

## Example

We want to show some content on a page especially for `authors`.

::tabs

::tab antlers
```antlers
{{ user:is role="author" }}
<div class="markdown">
    {{ content }}
</div>
{{ /user:is }}
```
::tab blade
```blade
{{-- Using Antlers Blade Components --}}
<s:user:is role="author">
  <div class="markdown">
    {{ $content }}
  </div>
</s:user:is>

{{-- Using Fluent Tags --}}
@if (Statamic::tag('user:is')->role('author')->fetch())
  ...
@endif
```
::

### Isn't

We also support the negative use case using `user:isnt` tags.

::tabs

::tab antlers
```antlers
{{ user:isnt role="author" }}
    <a href="/apply">Apply to be an author!</a>
{{ /user:isnt }}
```
::tab blade
```blade
{{-- Using Antlers Blade Components --}}
<s:user:isnt role="author">
  <a href="/apply">Apply to be an author!</a>
</s:user:isnt>

{{-- Using Fluent Tags --}}
@if (Statamic::tag('user:isnt')->role('author')->fetch())
  ...
@endif
```
::

## Super Users

While [super users](/users.md#super-users) have [permission](/permissions.md) to do everything, they do not automatically inherit all roles. Keep this in mind when testing your template logic.
