Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

LoginWithAccessMode method

  • Last UpdatedJul 23, 2024
  • 1 minute read

Logs into a Galaxy. This method must be called before any other Galaxy method. If GRAccess is already logged into a Galaxy, the session is logged off and re-established with the specified Galaxy. This API does the following:

  • Passes the Package Operation Mode while logging in.

  • Avoids the need for GRAccess to log in to the Galaxy while configuring Security through the System Platform IDE. This method calls the IGalaxyBase::Login method.

Class

IGalaxy

Syntax

[C#]

void LoginWithAccessMode(string UserName], string Password, int bModeReadWrite = 0);

[Visual C++]

HRESULT LoginWithAccessMode

(

[in, optional] BSTR Username,

[in, optional] BSTR Password,

[in, defaultvalue(FALSE)] BOOL bModeReadWrite

);

Parameters

Username

Name of the user. If Username is blank/omitted, log in as “admin.”

Password

Password associated with the Username. If password is blank/omitted, password is none.

bModeReadWrite

The Package Operation Mode (read/write mode) to be applied to the user.

0: Indicates Read/Write mode (default).

1: Indicates Read-Only mode.

Blank/omitted: Read-Only mode.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in