Create a security context using the specified username and password.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public SecurityContext( string userName, string password )
Public Sub New ( _ userName As String, _ password As String _ )
public: SecurityContext( String^ userName, String^ password )
public SecurityContext( String userName, String password )
Parameters
- userName (String)
- Username to use.
- password (String)
- Password matching username.