This project has moved and is read-only. For the latest updates, please go here.

Site Listing with owners name

Apr 17, 2012 at 1:55 PM

Hi ,

Is there any way to display all the webs under a site collection with owners(full control user)  names.

.I am able to list all the webs under the site collection using the below code. But not able full the owner names of that particular web.

 Can anyone please suggest.

$(document).ready(function() {

var newTR = "";
var url,title,userPerm;

  operation: "GetAllSubWebCollection",
  completefunc: function(xData, Status) {
        $(xData.responseXML).find("Webs > Web").each(function() {
      var $node = $(this);
url  =$(this).attr("Url");
       title   =$(this).attr("Title");
var newTr = '<tr><td class="ms-vb"><a href='+ url + ' > ' + title + '</a></td></tr>';


Apr 17, 2012 at 8:48 PM

For each site, try using Permissions.GetPermissionCollection. You can also look at the Users and Groups Web Service.