Поделиться через


WSS 2.0 : How to programmatically enable/disable the rights at Virtual server level?

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 ;)