Catalog Service GetTokenServiceURL method

Gets the URL to an ArcGIS Server Web sites token service used to generate tokens for clients.    

 

GetTokenServiceURL()

 

Return Value

 

A string representing the URL to the token service.  If empty, the token service has not been enabled and is not available.
 

Remarks

 

If authentication has been enabled on an ArcGIS Server Web site, a complimentary token service can be used to manage transactions.  Note that authentication may be enabled on an ArcGIS Server Web site without using the token service.  Use the RequiresTokens method to determine if the token service is being used.     

 

Examples

C#

VB.NET

Java