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);
});
}
No comments:
Post a Comment