People Search and User Profiles SP 2016

Tell me why this code does not work in SharePoint server 2016 on-premises, but is working 2013? Possible problem in another sourceId("B09A7990-05EA-4AF9-81EF-EDFAB16C4E31")???

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script src="/_layouts/15/sp.runtime.js" type="text/javascript"></script> <script src="/_layouts/15/sp.js" type="text/javascript"></script> <script src="/_layouts/15/sp.search.js" type="text/javascript"></script> <script src="/_layouts/15/sp.UserProfiles.js" type="text/javascript"></script>  <script type="text/javascript">     $  (document).ready(function () {          $  ("#btnSearch").click(function () {             users = [];             userProfileProperties = [];             SP.SOD.executeFunc('sp.js', 'SP.ClientContext', getAllUsers);         });     });      var users = [];     var userProfileProperties = [];      //Method to fetch all the users     function getAllUsers() {          //Textbox value containing search term         var searchTerm = $  ("#txtSearchBox").val();         clientContext = new SP.ClientContext.get_current();         //Building Keyword query for the search         var keywordQuery = new Microsoft.SharePoint.Client.Search.Query.KeywordQuery(clientContext);         keywordQuery.set_queryText(searchTerm);         keywordQuery.set_sourceId("B09A7990-05EA-4AF9-81EF-EDFAB16C4E31");         keywordQuery.set_rowLimit(500);         keywordQuery.set_trimDuplicates(false);         var searchExecutor = new Microsoft.SharePoint.Client.Search.Query.SearchExecutor(clientContext);         results = searchExecutor.executeQuery(keywordQuery);         clientContext.executeQueryAsync(onQuerySuccess, onQueryError);      }     function onQueryError(sender, args) {         alert(args.get_message());     }     function onQuerySuccess() {         $  .each(results.m_value.ResultTables[0].ResultRows, function () {             users.push(this.AccountName);          });          fetchProfilePropertiesForUsers();     }      function fetchProfilePropertiesForUsers() {         var peopleManager = new SP.UserProfiles.PeopleManager(clientContext);         var profilePropertyNames = ["PreferredName", "PictureURL", "AboutMe", "TechNetProfile", "AccountName"];          for (var i = 0; i < users.length; i++) {             var userProfilePropertiesForUser = new SP.UserProfiles.UserProfilePropertiesForUser(clientContext, users[i], profilePropertyNames);             userProfileProperties[i] = peopleManager.getUserProfilePropertiesFor(userProfilePropertiesForUser);         }         clientContext.executeQueryAsync(onSuccess, onQueryError);     }      function onSuccess() {         var html = "<style type='text/css'> .floatL {float:left;margin:10px;} .floatR {padding-top:10px} .profile {padding:10px 10px;} .editProfile{margin-left:100px;}  div>img {height:72px;width:72px;} </style>";         for (var i = 0; i < userProfileProperties.length; i++) {             html += "<div class='profile'><div class='floatL'><img src='" + userProfileProperties[i][1] + "' href='#' /></div><div class='floatR'><h2><span>" + userProfileProperties[i][0] + "</span></h2><span>About Me : " + userProfileProperties[i][2] + "</span><br /><span>TechNet Profile : </span><a href='" + userProfileProperties[i][3] + "'>" + userProfileProperties[i][3] + "</a><br /></div></div><br />";          }          $  ("#divUserProfiles").html(html);     } </script> <input type="text" id="txtSearchBox" /> <input id="btnSearch" type="button" value="Search Users" />  <div id="divUserProfiles"></div> 

Get 800 Web 2.0 profiles Backlinks for $3

800 Web 2.0 profiles Backlinks Web 2.0 profiles is one of the most effective ways you can start spreading the word about your website. Basically, what we do is sign up on high authority social websites and add links to your site from every profile. That’s a natural way of getting organic, trustworthy backlinks and become an authority in your area of expertise. Links built in this manner are relevant, qualitative and totally Penguin safe, thus, this service is the key tactic to dominate the rankings. Features Of This Service : – High quality Backlinks (Guaranteed) for your site. – True one-way backlinks (no reciprocal linking required). – True backlinks (means search engine don’t ignore but follow them). – Links from high PR sites (Google Page Rank)Links from different web hosts.

by: ImUl11
Created: —
Category: Web 2.0
Viewed: 207


100 Social Networks Profiles Backlinks Very High Indexer for $2

Hello Everyone, Contextual Backlinks from Social Networks Articles Get quality backlinks from social networks sites for your link(s) and keywords Features: Social Network profiles (sites with social network platform is NOT like the major social networks)Some links will come with link as anchor text.Mix do-follow and no-follow linksMultiple links/keywords accepted for each orderFull details reports including each created links/accounts NB: All sites and languages accepted Best regards. Ayoub

by: ayoubrg
Created: —
Category: Social Networks
Viewed: 139


200 Forum Profiles Backlinks Very High Indexer for $1

Hello Everyone, Forum backlinks is a great way to much backlinks for multiple URLs, also it’s awesome in tier2 backlinks It is no secret that forum posts from active and reputable members generate a huge amount of traffic and sales via signature links or posts recommending a service. That is why thousands of ‘professional formers’ exist for the entire purpose of being involved and pushing their services. Features:Forum profiles backlinks from high-quality forumsSome links will come with link as anchor text.Mix do-follow and no-follow linksMultiple links/keywords accepted for each orderLinks are 100% Penguin & Panda Safe!Full details reports including each created links/accountsDon’t miss out on this amazing opportunity to tap into a huge market of interested and motivated prospects talking about your type of service or product!. NB: We accept keyword for any niche and in any language (Please No Adult niche ) Best regards Ayoub

by: ayoubrg
Created: —
Category: Link Building
Viewed: 159


100 Contextual Backlinks from Wiki Websites Mix profiles & Articles for $1

Hello Everyone, Get unlimited contextual wiki backlinks for your links/keywords We will submit wiki articles for you, you will choose how many links should be in each article. We will use High quality related articles for submission Backlinks will be submitted in both profile page and wiki articles pages Most of the links will be no-follow links Mix platforms backlinks including profiles, contextual, …etc.We accept multiple URLs (unlimited) with unlimited keywords for each URL. NB: All sites and languages accepted Best regards. Ayoub

by: ayoubrg
Created: —
Category: Wiki Links
Viewed: 153


sharepoint 2010 user profiles Access denied error

We have provisioned MySites for users and created a new permission level according to our company requirements, wherein the Mysite is visible only to the MySite owners. Now, from whichever page we are in the application when we click on the name of a user of the application, it takes us to their profile page. However, now we notice that, for all those users for whom MySite is provisioned, it shows an “Access Denied” error. I am new to SharePoint and don’t know if this is because of the permissions of MySite.

What I want to implement is that MySites should be accessible only to the owners of the MySite but everyone’s profile page must be visible to everyone else. Any help on this will be very helpful.

Thanks in advance. 🙂

make 2000 manual dofollow forum profiles backlinks for $5

make 2000 manual dofollow forum profiles backlinks Forum profiles backlinks Features : Contextual backlinks from article directory websites!Mix do-follow and no-follow linksMultiple links/keywords accepted for each orderFull details reports including each created links/accounts100% White hat LinksIf you have any issue free feel to message me

by: jeffdeclin
Created: —
Category: Link Building
Viewed: 265


200,+ Forum Profiles Back-links for $6

200,+ Forum Profiles Back-links I will give you 200+ Forum Profile Back-links for $ 1 only. Are you need forum profile back-links so order me now. Service DetailForum profiles backlinks from high quality forumsSome links will come with link as anchor text.Mix do-follow and no-follow links Multiple links/keywords accepted for each order Full details reports including each created links/accounts Reports typically delivered within 24 hrs.

by: thedas
Created: —
Category: Link Building
Viewed: 187