Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » Ultra Light - .NET プログラミング » Ultra Light .NET 2.0 API リファレンス » ULConnectionStringBuilder クラス

 

UserID プロパティ

データベースで認証されるユーザを指定します。

構文
Visual Basic
Public Property UserID As String
C#
public string  UserID { get; set; }
プロパティ値

データベースのユーザ ID を指定する文字列。デフォルト値は NULL 参照 (Visual Basic の Nothing) です。

備考

ユーザ ID の大文字と小文字は区別されません。

データベースは最初、DBA という名前の 1 人の認証済みユーザで作成されます。

ユーザ ID とパスワードを両方とも入力しないと、ユーザ名 DBA とパスワード SQL が使用されます。データベースをより強力に保護するには、ユーザ名 DBA のパスワードを変更するか、新しいユーザを作成して (ULConnection.GrantConnectTo を使用)、DBA ユーザを削除します (ULConnection.RevokeConnectFrom を使用)。

参照