sp_revokelogin

Description

Windows NT only Revokes Adaptive Server roles and default permissions from Windows NT users and groups when Integrated Security mode or Mixed mode (with Named Pipes) is active.

Syntax

sp_revokelogin {login_name | group_name}

Parameters

login_name

is the network login name of the Windows NT user.

group_name

is the Windows NT group name.

Examples

Example 1

Revokes all permissions from the Windows NT user named “jeanluc”:

sp_revokelogin jeanluc

Example 2

Revokes all roles from the Windows NT Administrators group:

sp_revokelogin Administrators

Usage

Permissions

Only a System Administrator can execute sp_revokelogin.

See also

Commands grant, revoke, setuser

System procedures sp_droplogin, sp_dropuser, sp_logininfo