Login Method

Description
Log into Epson RC+ 8.0 as another user.

Syntax
Sub Login (LoginID As String, Password As String)

Parameters

  • LoginID
    A string expression indicating the user’s login ID.
  • Password
    A string expression indicating the user’s password.

Remarks
You can utilize Epson RC+ 8.0 security in your application. For example, you can display a menu that allows different users to log into the system. Each type of user can have its own security rights. For more details on security, see Epson RC+ User's Guide.
If security is enabled and you do not execute LogIn, then your Visual Basic application will be logged in as the guest user. Or if Auto LogIn is enabled in Epson RC+ 8.0, your application will automatically be logged in as the current Windows user if such a user has been configured in Epson RC+ 8.0.

See Also
GetCurrentUser Method

Login Example
VB Example:

With m_spel  
    .Project = "c:\EpsonRC80\projects\myproject\myproject.sprj"  
    .LogIn("operator", "oprpass")  
End With  

C# Example:

m_spel.Project = @"c:\EpsonRC80\projects\myproject\myproject.sprj";  
m_spel.LogIn("operator", "oprpass");