security.applicationUserScreenAccess deprecated
Returns true or false whether or not the user has access to a screen.
Deprecated
Use user.hasAvailableScreen(application, screen) 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
booleantrue if the user can access the screen; false otherwise.
Examples
js
const canView = security.applicationUserScreenAccess("Finance App", 123, "P&L Detail");