Hide Table of Contents
esri
esri/arcgis
esri/dijit
esri/dijit/analysis
esri/dijit/geoenrichment
esri/dijit/geoenrichment/ReportPlayer
esri/geometry
esri/layers
esri/renderers
esri/symbols
esri/tasks
esri/tasks/datareviewer
esri/tasks/geoenrichment
esri/tasks/locationproviders
require(["esri/ServerInfo"], function(ServerInfo) { /* code goes here */ });
| Name | Type | Summary |
|---|---|---|
| adminTokenServiceUrl | String | The token service URL used to generate tokens for ArcGIS Server Admin resources. |
| currentVersion | Number | Version of the ArcGIS Server or Portal deployed on the server. |
| hasPortal | Boolean | Indicates whether the server is a Portal instance. |
| hasServer | Boolean | Indicates whether the server is an ArcGIS Server instance. |
| server | String | The server URL. |
| shortLivedTokenValidity | Number | Validity of short-lived token in minutes. |
| tokenServiceUrl | String | The token service URL used to generate tokens for the secured resources on the server. |
| webTierAuth | Boolean | Indicates whether the server is configured to work with web tier authentication. |
| Name | Return type | Summary |
|---|---|---|
| toJson() | Object | Return the properties of this object in JSON. |
String> adminTokenServiceUrlNumber> currentVersionBoolean> hasServertrue | falseString> serverNumber> shortLivedTokenValidityString> tokenServiceUrlBoolean> webTierAuthnull