REVOKE CONNECT Statement

Removes a user from the database.

Syntax

REVOKE CONNECT 
FROM userID [,...]

Parameters

Usage

Standards

ANSI SQL – compliance level: Transact-SQL extension.

Permissions

Requires the MANAGE ANY USER system privilege.
Note: If revoking CONNECT permissions or revoking table permissions from another user, the target user cannot be connected to the database.
Related reference
GRANT CONNECT Statement