sp_droplanguage  sp_dropmessage

Chapter 1: System Procedures

sp_droplogin

Description

Drops an Adaptive Server user login by deleting the user’s entry from master.dbo.syslogins.

Syntax

sp_droplogin loginame

Parameters

loginame

is the name of the user, as listed in master.dbo.syslogins.

Examples

Example 1

Drops the “victoria” login from Adaptive Server:

sp_droplogin victoria

Usage

Permissions

Only a System Security Officer can execute sp_droplogin.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

Event

Audit option

Command or access audited

Information in extrainfo

38

exec_procedure

Execution of a procedure

  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

See also

System procedures sp_addlogin, sp_audit, sp_dropuser, sp_locklogin





Copyright © 2005. Sybase Inc. All rights reserved. sp_dropmessage

View this book as PDF