Select to view content in your preferred language

GeoForm- Fill out form base on who signed in

3198
2
12-09-2015 03:56 PM
RickeyFight
MVP Regular Contributor

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?

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Rickey,

   Look into the IdentityManager singleton:

define([

  'esri/IdentityManager',

  ],

function(

 

  IdentityManager){

...

console.log(IdentityManager.credentials[0].userId)

RickeyFight
MVP Regular Contributor

Robert,

I will look into it, thank you!

0 Kudos