I am looking for a way to fill out a field in geoform based on who has logged in.
Basically:
I am using this example:
GeoForm
I do have this downloaded and deployed on my server.
Is this possible?
Rickey,
Look into the IdentityManager singleton:
define([
'esri/IdentityManager',
],
function(
IdentityManager){
...
console.log(IdentityManager.credentials[0].userId)
Robert,
I will look into it, thank you!
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.