Using procedures to disable connections

You can disable connections using the stored procedure sp_iqmodifylogin. For an example, see “sp_iqmodifylogin procedure”in Chapter 7, “System Procedures” in Reference: Building Blocks, Tables, and Procedures.