security.applicationUserScreens deprecated
List all screens visible to the user on a particular application.
Deprecated
Use user.getAvailableScreens(application) instead.
js
security.applicationUserScreens(applicationId, userId)Parameters
| Parameter | Type | Description |
|---|---|---|
applicationId | string | The application id. |
userId | string | The user id. |
Returns
objectAn array of screen objects the user is permitted to see. null when the application is not found.
Examples
js
const screens = security.applicationUserScreens("Finance App", 123);