この機能は、将来のバージョンの 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.