次の方法で共有


IsUser Method

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。 新しい開発作業では、この機能の使用を避け、現在この機能を使用しているアプリケーションは修正するようにしてください。

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

構文

object.IsUser(UserName)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

  • UserName
    String that identifies a database user by name.

Prototype (C/C++)

HRESULT IsUser(SQLDMO_LPCSTR szUserName,
LPBOOL pRetVal);

Returns

TRUE or FALSE.

Applies To: