Databases Reference
In-Depth Information
string Password { set; }
string UserName { set; }
}
VB.NET
Public Interface IDbConnectionExtension
Implements IDbConnection, IDisposable, IExtension
' Properties
WriteOnly Property Impersonate As String
Property IntegratedSecurity As Boolean
WriteOnly Property Password As String
WriteOnly Property UserName As String
End Interface
Impersonate Property
Windows supports the idea of impersonation . This is the idea that a process of execution can “assume”
the identity of a set of assigned security credentials. The Impersonate property allows the assignment
of a string representing the user account whose security context the process should run under.
C#
public string Impersonate
{
set { m_impersonate = value; }
}
VB.NET
Public WriteOnly Property Impersonate() As String
Implements IDbConnectionExtension.Impersonate
Set(ByVal value As String)
m_impersonate = value
End Set
End Property
IntegratedSecurity Property
The IntegratedSecurity property indicates whether or not you want the extension to run using
Windows security for both authentication (identifying the user), and authorization (denying/granting a
user permission to perform certain actions).
C#
public bool IntegratedSecurity
{
get{ return m_integrated;}
set {m_integrated = value;}
}
Search WWH ::




Custom Search