---
url: /process-functions/security-applicationuserscreenaccess.md
description: Returns true or false whether or not the user has access to a screen.
---

# security.applicationUserScreenAccess&#x20;

Returns true or false whether or not the user has access to a screen.

::: warning Deprecated
Use [`user.hasAvailableScreen(application, screen)`](/process-functions/userSecurity-user#hasavailablescreen) instead.
:::

```js
security.applicationUserScreenAccess(applicationId, userId, screenId)
```

## Parameters

| Parameter | Type | Description |
|---|---|---|
| `applicationId` | `string` | The application id. |
| `userId` | `string` | The user id. |
| `screenId` | `string` | The id of the screen. |

## Returns

`true` if the user can access the screen; `false` otherwise.

## Examples

```js
const canView = security.applicationUserScreenAccess("Finance App", 123, "P&L Detail");
```
