Logon to the system using the specified user credentials, if unable to logon this throws an exception.
Namespace: Dynmark.Services.API
Assembly: Dynmark.Services.API (in Dynmark.Services.API.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Sub LogonThrow( _ ByVal name As String, _ ByVal password As String _ ) |
| C# |
|---|
| public void LogonThrow( string name, string password ) |
| C++ |
|---|
| public: void LogonThrow( String name, String password ) sealed |
| J# |
|---|
| public void LogonThrow( string name, string password ) |
| JScript |
|---|
| public
function LogonThrow( name : String, password : String ) |
Parameters
- name
- User name, must be between 6-16 characters
- password
- Password, must be between 8-16 characters
Exceptions
| Exception Type | Condition |
|---|---|
| ApiConnectivityException | Thrown when there is an issue with internet connectivity. |
| ApiDeveloperException | Thrown when name or password is not within the required length. |
| ApiArgumentException | Thrown if the user credentials are invalid |