summaryrefslogtreecommitdiff
path: root/doc/sample-insert-user_types.php
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-29 10:40:07 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-29 10:40:42 (GMT)
commita8486853220ad93970754f9c156e246e61932e3d (patch)
tree0d085f02241686681f656d660d5b805be41209a3 /doc/sample-insert-user_types.php
parenta8c1e2fee299d3d8b7f7b94b5fa92dcdb14ad1d0 (diff)
downloadkolab-wap-a8486853220ad93970754f9c156e246e61932e3d.tar.gz
Update sample insert user_types and initial kolab_wap SQL file
Diffstat (limited to 'doc/sample-insert-user_types.php')
-rw-r--r--doc/sample-insert-user_types.php40
1 files changed, 19 insertions, 21 deletions
diff --git a/doc/sample-insert-user_types.php b/doc/sample-insert-user_types.php
index 7470aec..8932744 100644
--- a/doc/sample-insert-user_types.php
+++ b/doc/sample-insert-user_types.php
@@ -13,33 +13,38 @@
$attributes = Array(
"auto_form_fields" => Array(
- "cn" => Array(
+ // Note that this form field is marked as optional in
+ // 'form_fields'.
+ "alias" => Array(
+ "type" => "list",
"data" => Array(
"givenname",
+ "preferredlanguage",
"sn",
),
),
- "displayname" => Array(
+ "cn" => Array(
"data" => Array(
"givenname",
"sn",
),
),
- "mail" => Array(
+ "displayname" => Array(
"data" => Array(
"givenname",
- "preferredlanguage",
"sn",
),
),
- "mailalternateaddress" => Array(
+ "mail" => Array(
"data" => Array(
"givenname",
"preferredlanguage",
"sn",
),
- "optional" => true,
),
+ // Using this form field to move a user to a different
+ // server, or have the user be created on a specific server
+ // is not yet supported.
"mailhost" => Array(
"optional" => true,
),
@@ -55,12 +60,9 @@
),
),
"form_fields" => Array(
-/*
- "c" => Array(
- "type" => "select",
+ "alias" => Array(
"optional" => true,
),
-*/
"givenname" => Array(),
"initials" => Array(
"optional" => true,
@@ -235,42 +237,41 @@
$attributes = Array(
"auto_form_fields" => Array(
- "cn" => Array(
+ "alias" => Array(
"data" => Array(
"givenname",
"preferredlanguage",
"sn",
),
),
- "displayname" => Array(
+ "cn" => Array(
"data" => Array(
"givenname",
"preferredlanguage",
"sn",
),
),
- "gidnumber" => Array(),
- "homedirectory" => Array(
+ "displayname" => Array(
"data" => Array(
"givenname",
"preferredlanguage",
"sn",
),
),
- "mail" => Array(
+ "gidnumber" => Array(),
+ "homedirectory" => Array(
"data" => Array(
"givenname",
"preferredlanguage",
"sn",
),
),
- "mailalternateaddress" => Array(
+ "mail" => Array(
"data" => Array(
"givenname",
"preferredlanguage",
"sn",
),
- "optional" => true,
),
"mailhost" => Array(
"optional" => true,
@@ -288,12 +289,9 @@
),
),
"form_fields" => Array(
-/*
- "c" => Array(
- "type" => "select",
+ "alias" => Array(
"optional" => true,
),
-*/
"givenname" => Array(),
"initials" => Array(
"optional" => true,