New answers tagged

0

Use SPWeb.GetUserEffectivePermissions this will return which permissions the user has.


0

while (group.Users.Count > 0) { group.Users.Remove(group.Users[0]); } This should remove all the users in the group for CSOM and SSOM.



Top 50 recent answers are included