getUserNotifications
FunctiongetUserNotifications(requestOptions: IAuthenticatedRequestOptions): Promise<INotificationResult>Get notifications for a user.
import { getUserNotifications } from '@esri/arcgis-rest-portal';
getUserNotifications({ authentication })
.then(results) // results.notifications.length) => 3Parameters
| Parameter | Type | Notes |
|---|---|---|
request | IAuthenticatedRequestOptions | options to pass through in the request |
Returns
Promise<INotificationResult>A Promise that will resolve with the user's notifications