Servoy Methods Summary | |
---|---|
Boolean | isAuthenticated( ) |
Servoy Properties Details |
---|
account
String account
Get/Set the account name.Returns
String account String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
calendarFolderName
String calendarFolderName
Get/Set the (international) folder name for later use.Returns
String folder String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
contactsFolderName
String contactsFolderName
Get/Set the (international) folder name for later use.Returns
String folder String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
deletedFolderName
String deletedFolderName
Get/Set the (international) folder name for later use.Returns
String folder String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
domain
String domain
Get/Set the domain name (optional).Returns
String domain String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
draftsFolderName
String draftsFolderName
Get/Set the (international) folder name for later use.Returns
String folder String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
getAuthenticationError
String getAuthenticationError
Retrieve the authentication error when applicable.Returns
String error String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
host
String host
Get/Set the host name/ip.Returns
String host String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
inboxFolderName
String inboxFolderName
Get/Set the (international) folder name for later use.Returns
String folder String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
mailbox
String mailbox
Get/Set the mailbox name (optional, normally this is equal to the account name).Returns
String mailbox String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
password
String password
Get/Set the password.Returns
String password String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
prefix
String prefix
Get/Set the prefix (normally this is "Exchange").Returns
String prefix String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
privateKeystoreLocation
String privateKeystoreLocation
Get/Set the location of the private keystoreReturns
String location String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
publicContactsFolderName
String publicContactsFolderName
Get/Set the (international) folder name for later use.Returns
String folder String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
tasksFolderName
String tasksFolderName
Get/Set the (international) folder name for later use.Returns
String folder String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
timeZone
String timeZone
Get/Set the timezoneReturns
String timezone String
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
useFBA
Boolean useFBA
Get/Set Form Base Authentication enabled (domain name required as well).Returns
Boolean use boolean
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
useNTLM
Boolean useNTLM
Get/Set to use NTLMReturns
Boolean use boolean
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
useSSL
Boolean useSSL
Get/Set SSL enabled.Returns
Boolean use boolean
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}
Servoy Methods Details |
---|
isAuthenticated
Boolean isAuthenticated( )
Retrieve the authentication status (returns true/false).Returns
Boolean authenticated boolean
Supported Clients
SmartClient, WebClient, NGClient
Sample
// First thing to do is create a IEConnection Object to store credentials and Exchange Server details
// Mandatory arguments are: hostname, account, password and prefix (prefix will normally be 'Exchange')
var connection = plugins.it2be_exchange.getConnection("192.168.1.69", "marcel.test", "test", "Exchange");
// Optional arguments can be:
// connection.mailbox (defaults to the account name)
// connection.useSSL (defaults to false)
// connection.domain and connection.userFBA (mandatory when logging in to a system with FBA enabled)
// When you are working with an international system with other than default folder names you should
// define them here like below. This sample set the names for a Dutch system
// connection.calendarFolderName = "Agenda";
// connection.contactsFolderName = "Contactpersonen";
// connection.deletedFolderName = "Verwijderde items";
// connection.draftsFolderName = "Concepten";
// connection.inboxFolderName = "Postvak IN";
// connection.publicContactsFolderName = "Openbare mappen";
// connection.tasksFolderName = "Taken";
// Check and authenticate the IEConnection Object against the Exchange Server
// This method returns a boolean true (success) or false (failed)
if (plugins.it2be_exchange.authenticate(connection)) {
// Output the connection with success
application.output(connection);
// And return the connection for later use
Return connection;
} else {
// Output the connection error
application.output(connection.getAuthenticationError());
// Return a null value to inform the calling method about the failed connection
Return null;
}