Hello Guys,
I want to add user to a SharePoint site group, but not working when I check in site:
pnp.sp.web.siteGroups.getByName("Group").users
.add(loginname).then(function(d){
console.log(d)
});Any help or thoughts is welcome.
Hello Guys,
I want to add user to a SharePoint site group, but not working when I check in site:
pnp.sp.web.siteGroups.getByName("Group").users
.add(loginname).then(function(d){
console.log(d)
});