@esri/arcgis-rest-portal
Version:
ArcGIS Online and Enterprise content and user helpers for @esri/arcgis-rest-request
13 lines (12 loc) • 600 B
TypeScript
import { IAuthenticatedRequestOptions } from "@esri/arcgis-rest-request";
import { IUserProperties } from "./get-user-properties.js";
/**
* Updates the properties for a user
* @param username The user whose properties to update
* @param properties IUserProperties object with properties to update
* @param requestOptions An IAuthenticatedRequestOptions object
* @returns a promise that resolves to { success: boolean }
*/
export declare function setUserProperties(username: string, properties: IUserProperties, requestOptions: IAuthenticatedRequestOptions): Promise<{
success: boolean;
}>;