Logon to the system using the specified user credentials
Namespace: Dynmark.Services.API
Assembly: Dynmark.Services.API (in Dynmark.Services.API.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Function Logon( _ ByVal name As String, _ ByVal password As String _ ) As Boolean |
| C# |
|---|
| public bool Logon( string name, string password ) |
| C++ |
|---|
| public: bool Logon( String name, String password ) sealed |
| J# |
|---|
| public bool Logon( string name, string password ) |
| JScript |
|---|
| public
function Logon( name : String, password : String ) : bool |
Parameters
- name
- User name, must be between 6-16 characters
- password
- Password, must be between 8-16 characters
Return Value
True if logon was successful
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. |