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.
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.