Need some links explaining getting and setting esri portal user credentials using ArcGIS Javascript API
If you learn best with samples like I do, you can download a working example here (it is included in the doc Rene provided as well)
Here are a couple of guides that might help you.
Working with the ArcGIS Platform | ArcGIS API for JavaScript 4.14
Access secure resources | ArcGIS API for JavaScript 4.14
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.