To disable connections, use the stored procedure sp_iqmodifylogin.
For an example, see the sp_iqmodifylogin procedure in Reference: Building Blocks, Tables, and Procedures.