Hi,
I found some helpful posts here on how to list the SP groups on an ASPX page.
The only thing I can't get done is to show the 'About Me' description of the groups.
If I use the 'description' attribute, the 'About Me' information is only shown for the default SharePoint groups.
I'm trying this on a MOSS environment.
The script is:
I found some helpful posts here on how to list the SP groups on an ASPX page.
The only thing I can't get done is to show the 'About Me' description of the groups.
If I use the 'description' attribute, the 'About Me' information is only shown for the default SharePoint groups.
I'm trying this on a MOSS environment.
The script is:
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="http://site/CodeLibrary/jquery.SPServices-2013.01.js"></script>
<script type=text/javascript>
jQuery(document).ready(function($){
$().SPServices({
operation: "GetGroupCollectionFromSite",
async: false,
completefunc: function (xData, Status) {
$(xData.responseXML).find("Group").each(function() {
if($(this).attr("Name").substring(0,3) == "DL-")
{
$("#data").append("<tr><td class='ms-vb'><a href='http://site/_layouts/people.aspx?MembershipGroupId="+ $(this).attr("ID") + "'>" + $(this).attr("Name") + "</a></td><td class='ms-vb'>" + $(this).attr("description") + "</td></tr>");
}
});
}
});
});
</script>
<div>
<table id="data">
<th class="ms-vh" nowrap="nowrap">Group Name</th>
<th class="ms-vh" nowrap="nowrap">About Me</th>
</table>
</div>