To enable all rights at the virtual server level
            vServer.Config.Properties["virtualserverpermsmask"] = "-1";


To disable the “Manage Site Groups” permission at the virtual server level
            vServer.Config.Properties["virtualserverpermsmask"] = "2113867535";

Keep Coding ;)