if(IdentityManager.instance.enabled){ var cred:Credential = IdentityManager.instance.findCredential(lyrURL); if (cred && cred.token){ lyrToken = cred.token; } }
Hi All,I believe that featureLayer has and userId property, so you can get the userId using this:featureLayerName.userId. See reference below.https://developers.arcgis.com/flex/api-reference/com/esri/ags/layers/FeatureLayer.htmlHope this helps.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.