RemoveAlias Method

SQLServer.Database.User Object

Description

Removes the existing alias association between a list of logins that are aliased to this database user.

Visual Basic

User.RemoveAlias ( [LoginNames :=] midLogins )

C++

HRESULT pUser->RemoveAlias ( SQLOLE_LPCSTR midLogins );

Elements

Element Type Description

midLogins MultiIdentifier Delimited list of logins

Reference

sp_dropalias