getUserInvitations

getUserInvitations

Function
getUserInvitations(requestOptionsIUserRequestOptions): Promise<IInvitationResult>

Get all invitations for a user. See the REST Documentation for more information.

Use dark colors for code blocksCopy
1
2
3
4
import { getUserInvitations } from '@esri/arcgis-rest-portal';

getUserInvitations({ authentication })
  .then(response) // response.userInvitations.length => 3
Parameters
ParameterTypeNotes
requestOptions
IUserRequestOptions

options to pass through in the request

Returns 
Promise<IInvitationResult>

A Promise that will resolve with the user's invitations

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.