I am using Ownership based access control in my Javascriptweb editing application and wondering how can I get the access to the owner’sinformation (User ID) of a selected feature. Basically what I want to do is tohide ‘Delete’ button from the Infowindow and show an alert box to let thecurrent editor know that he/she does not have editing permission for the particularfeature if the Owner is different.
Hi Aziza,
If you enable ownership-based access control on features, user's will not be able to delete other features owned by other users. This can be set within the service properties.
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.