Visual Basic (Declaration)
C#
The authentication token, while valid, may be used in the
Token
property of Business Analist Online tasks.
The code snippet below executes an Authentication task.
C# | ![]() |
---|---|
AuthenticationTask task = new AuthenticationTask(); // "https://baoapi.esri.com" is the default value for the AuthenticationTask url. //task.url = "https://baoapi.esri.com"; task.ExecuteAsync(username, password, new AsyncResponder(resultHandler, faultHandler)); |
System.Object
ESRI.ArcGIS.Client.BACore.Client.AbstractTask
ESRI.ArcGIS.Client.BAO.Tasks.Authentication.AuthenticationTask
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family