Location: PHPKode > projects > LDAPted > ldapted/adapted/forms/demo/group.xml
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
<formular name="Group Managment">
  <layout>
    <option name="width">720</option>
    <option name="height">400</option>
    <option name="template">group.tpl</option>
  </layout>
  <attribute name="gidnumber" objectClass="posixGroup" type="calculate" search="true">
    <label lang="en">
      gidNumber
    </label>
    <label lang="de">
      Gruppen ID
    </label>
    <description lang="en">
      The ID of the group.
    </description>
    <description lang="de">
      Die Gruppen ID.
    </description>
    <selection sourcetype="ldap">
      <field name="returnAttrib">gidnumber</field>
      <field name="filter">objectClass=posixGroup</field>
    </selection>
    <value>
      <field name="inc">1</field>
      <field name="min">10000</field>
    </value>
  </attribute>
  <attribute name="cn" objectClass="posixGroup" type="text" search="true" identifier="true">
    <label lang="en">
      common name
    </label>
    <label lang="de">
      Vollständiger Name
    </label>
    <description lang="en">
      The entire Name of a group.
    </description>
  </attribute>

  <attribute name="memberuid" objectClass="posixGroup" type="switchlist">
    <label lang="en">
      member uid numbers
    </label>
    <label lang="de">
      Mitglieder ID Nummern
    </label>
    <description lang="en">
      All members of this group.
    </description>
    <option name="size">8</option>
    <option name="width">120</option>
    <selection sourcetype="ldap">
      <field name="returnAttrib">uidnumber</field>
      <field name="returnAttrib">uid</field>
      <field name="filter">objectClass=posixAccount</field>
    </selection>
  </attribute>

  <attribute name="description" objectClass="posixGroup" type="description">
    <option name="cols">30</option>
    <option name="rows">5</option>
    <label lang="en">
      description
    </label>
    <label lang="de">
      Beschreibungen
    </label>
    <description lang="en">additional description to the group</description>
    <description lang="de">Weitere Gruppenbeschreibungen</description>
  </attribute>
</formular>
Return current item: LDAPted