The IsUser method returns True when the specified Microsoft® SQL Server™ user is defined in the database referenced.
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 |
True or False.
HRESULT IsUser(SQLDMO_LPCSTR szUserName,
LPBOOL pRetVal);