Skip to content

ContactsAccounts#

Default contactsAccounts.xml#

contactsAccounts.xml
<?xml version="1.0" encoding="utf-8"?>
<config version="1.2.0">
  <contactsAccounts>
    <contactsAccount uuid="47297d7a-bb53-4d65-b77f-65fb584cc8f5">
      <type>ldap</type>
      <name>LDAP-Server</name>
      <properties>
        <host></host>
        <port>636</port>
        <ssl>true</ssl>
        <base>dc=auerswald</base>
        <bindDN>telephoneNumber= ,dc=auerswald</bindDN>
        <password></password>
      </properties>
    </contactsAccount>
  </contactsAccounts>

Commented File-structure#

contactsAccounts.xml
<?xml version="1.0" encoding="utf-8"?>
<config version="1.2.0">
  <!-- List of all contact accounts
       type: list -->
  <contactsAccounts>
    <!-- an ldap account
         parameters:
           uuid: primary key
               type: string -->
    <contactsAccount uuid="47297d7a-bb53-4d65-b77f-65fb584cc8f5">
      <type>ldap</type>
       <!-- The name of the account
            type: string -->
      <name>LDAP-Server</name>
      <properties>
        <!-- ldap server address fqdn or ip address
             type: string -->
        <host>192.168.196.38</host>
        <!-- ldap server port 389 or 636 (LDAPS)
             type: integer
               minimum: 1
               maximum: 65535 -->
        <port>636</port>
        <ssl>true</ssl>
        <!-- scope that will be searched
             type: string -->
        <base>dc=auerswald</base>
        <!-- username to login
             type: string -->        
        <bindDN>telephoneNumber=44 ,dc=auerswald</bindDN>
         <!-- The password to authenticate the user for the ldap server
             type: string -->        
       <password></password>
      </properties>
    </contactsAccount>
    <!-- a single Google account
         parameters:
           uuid: primary key
               type: string -->
    <contactsAccount uuid="47297d7a-bb53-4d65-b77f-65fb584cc8f5">
      <type>google</type>
       <!-- Google account name (freely usable name, 
            does not have to be the email address)
            type: string -->
      <name>Google Account 1</name>
      <properties>
        <!-- authorization state
             type: enum
             accepted values:
               todo
               pending
               done -->
        <authState>done</authState>
        <refreshToken></refreshToken>
        <accessToken></accessToken>
        <contactCount>6</contactCount>
        <!-- if no group is defined, all contacts are synced, 
             otherwise only those of the specified group are synced
             type: string -->
        <selectedGroup>contactGroups/all</selectedGroup>
        <forceReload>true</forceReload>
      </properties>
    </contactsAccount>
    <!-- an exchange account
         parameters:
           uuid: primary key
               type: string -->
    <contactsAccount uuid="47297d7a-bb53-4d65-b77f-65fb584cc8f5">
      <type>ews</type>
       <!-- Name of the Exchange server
            type: string -->
      <name>ews_test</name>
      <properties>
        <!-- exchange server address fqdn or ip address
             type: string -->
        <uri>https://mail.domain.de/EWS/Exchange.asmx</uri>
        <!-- e-mail address
             type: string -->
       <user>[user]@domain.de</user>
        <!-- password
             type: string -->
       <password></password>
      </properties>
    </contactsAccount>
  </contactsAccounts>