Removing Social Groups and Related Items

Sep 20, 2012 at 10:22 PM

Is there a easy way to remove/delete the Social Groups from the website/database? I am trying to delete the Social Groups and Role Groups via database but get the - The delete statement confilcted with the Reference constraint "fk_UserRoles_RoleI_108c44b2." The conflict occured in database "db", table "dbo.userroles",column "roleID."

Is there a way to remove the all the Users from the respective RoleGroups and then delete the Social Groups in one go?


Thank you.