UNPKG

@esri/arcgis-rest-portal

Version:

ArcGIS Online and Enterprise content and user helpers for @esri/arcgis-rest-request

22 lines (21 loc) 688 B
import { IAuthenticatedRequestOptions } from "@esri/arcgis-rest-request"; export interface IUserProperties { /** * user landing page configuration */ landingPage: { url: string; }; /** * user MapViewer configuration */ mapViewer: "classic" | "modern"; [key: string]: unknown; } /** * Fetches the properties for a user * @param username The user whose properties to fetch * @param requestOptions An IAuthenticatedRequestOptions object * @returns a promise that resolves an IUserProperties object */ export declare function getUserProperties(username: string, requestOptions: IAuthenticatedRequestOptions): Promise<IUserProperties>;