USE [master]GODENY CONNECT SQL TO [YourID\TestUser]GO--To allow access again, you can use GRANT:USE [master]GOGRANT CONNECT SQL TO [YourID\TestUser]GO