IsUser Method (SQL-DMO)

The IsUser method returns True when the specified Microsoft® SQL Server™ user is defined in the database referenced.

Applies To

Database Object

Syntax

object.IsUser( UserName )

Part Description
object Expression that evaluates to an object in the Applies To list
UserName String identifying a database user by name

Returns

True or False.

Prototype (C/C++)

HRESULT IsUser(SQLDMO_LPCSTR szUserName,
LPBOOL pRetVal);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.