New answers tagged

0

You're doing a bit wrong. Replace the following code: while (userEnumerator.moveNext()) { var oUser = userEnumerator.get_current(); targetUsers += oUser.get_loginName() + ","; } WITH THE FOLLOWING CODE: while (userEnumerator.moveNext()) { var oUser = userEnumerator.get_current(); targetUsers.push(oUser.get_loginName()); } As Danny ...


0

You are declaring targetUsers as an Array: var targetUsers = []; Then appending Strings: targetUsers += oUser.get_loginName() + ",";


0

I solved it. This can be achieved in 2 ways: $(document).ready(function() { var soapEnv = "<?xml version='1.0' encoding='utf-8'?> \ <soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'> \ <soap:Body> ...


1

This code is of retrieving user properties of current logged in user. you can read more in this article of how to modify the below code to obtain what you need. (function($){ $(document).ready(function(){ // Ensure that the SP.UserProfiles.js file is loaded before the custom code runs. SP.SOD.executeOrDelayUntilScriptLoaded(loadUserData, ...


0

in SharePoint 2013 use "Active Directory Import" instead of "SharePoint Profile Synchronization" in Configure synchronization Settings Extremely fast performance Very reliable No FIM and extra sync service is required http://sharepoint.stackexchange.com/a/183097/16880


0

in SharePoint 2013 use "Active Directory Import" instead of "SharePoint Profile Synchronization" in Configure synchronization Settings Extremely fast performance Very reliable No FIM or extra sync service is required more complete reviews: https://blogs.technet.microsoft.com/meacoex/2013/08/04/step-by-step-active-directory-import-for-sharepoint-2013/ ...


0

I was faced with a similar issue and ULS logs gave the same error. You should check the visitors permission to the site collection. I had the "everyone" group in there and connection would fail with 500 error, BUT once I added the "NT AUTHORITY\Authenticated Users" to the visitors group the connection started to work. My guess is that as stated above ...



Top 50 recent answers are included