getUserInvitations
FunctiongetUserInvitations(requestOptions: IUserRequestOptions): Promise<IInvitationResult>
Get all invitations for a user. See the REST Documentation for more information.
import { getUserInvitations } from '@esri/arcgis-rest-portal';
getUserInvitations({ authentication })
.then(response) // response.userInvitations.length => 3
Parameters
Parameter | Type | Notes |
---|---|---|
request | IUserRequestOptions | options to pass through in the request |
Returns
Promise<IInvitationResult>
A Promise that will resolve with the user's invitations