Remove Method

SQLServer.Database.User Object

Description

Drops the SQL Server database user and removes the User object.

Visual Basic

User.Remove

C++

HRESULT pUser->Remove ( );

Reference

sp_dropuser