Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Avoid Windows Authentication Popup when JSOM Replied with no Permissions

$
0
0

Hello,

I have been working in SharePoint Site using JSOM to get information from subsites. These subsites do not have the same permissions. 

So in the first page, we got Windows Authentication Popup when I tried to load elements from a subsite I do not have access to. So, this code is inside a try catch and also we are using defferred with .fail() function

deferredCallToJSOM.done(function (){

success();

}).fail(function () {

error();

});

So, would like to know how to avoid them. How to verify if I have access to the site without the Windows Authentication Popup.

Best regards,

Jose Luis


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>