UNPKG

@esri/arcgis-rest-request

Version:

Common methods and utilities for @esri/arcgis-rest-js packages.

47 lines (46 loc) 1.17 kB
import { IGroup } from "./group.js"; /** * An ArcGIS Online or Enterprise user * * `IUser` can also be imported from the following packages: * * ```js * import { IUser } from "@esri/arcgis-rest-request"; * import { IUser } from "@esri/arcgis-rest-portal"; * ``` */ export interface IUser { username?: string; fullName?: string; availableCredits?: number; assignedCredits?: number; firstName?: string; lastName?: string; preferredView?: any; description?: string; email?: string; idpUsername?: string; favGroupId?: string; lastLogin?: number; mfaEnabled?: boolean; access?: string; storageUsage?: number; storageQuota?: number; orgId?: string; cOrgId?: string; role?: "org_admin" | "org_publisher" | "org_user"; privileges?: string[]; roleId?: string; level?: string; disabled?: boolean; units?: string; tags?: string[]; culture?: string; region?: string; thumbnail?: string; created?: number; modified?: number; groups?: IGroup[]; provider?: "arcgis" | "enterprise" | "facebook" | "google" | "apple" | "github"; id?: string; }