User credentials (online)

Load an ArcGISTiledMapServiceLayer or ArcGISDynamicMapServiceLayer from the provided service endpoint URL using user name and password credentials. The service can be set up to use either Basic/Digest HTTP security or ArcGIS Server token-based security.