Initializes a new instance of the Identity class with the specified parameters.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim user As String
Dim pwd As String
Dim domain As String
Dim instance As New Identity(user, pwd, domain) |
Parameters
- user
- A login user name
- pwd
- A login user password in clear text
- domain
- Optional - a domain or machine name for the login user
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also