Showing posts with label sharepoint framework sitegroups using pnp. Show all posts
Showing posts with label sharepoint framework sitegroups using pnp. Show all posts

Sunday, 17 March 2019

SiteGroups using pnp



private GetSPSiteGroup():void
{

pnp.sp.web.siteGroups.get().then(function(response)
{
console.log(response);
for(let index:number=0;index<response.length;index++)
{
console.log("Title :"+response[index].Title);
}
}).catch(function(exception)
{
alert("Something went wrong :"+exception);
});
}