...
Attribute | Multi-valued? | Required? | Notes |
---|---|---|---|
Address | Yes | No | See note below. |
EmailAddress | Yes | No | See note below. |
Identifier | Yes | No | Does not automatically include the unique key (SORID). See note below. |
Name | Yes | No | Do not include Primary Name. See note below. |
OrgIdentity.affiliation | No | No | Possible values may vary by CO; see CoExtendedType::definedTypes |
OrgIdentity.title | No | No | |
OrgIdentity.o | No | No | |
OrgIdentity.ou | No | No | |
PrimaryName | No | Yes | This Name should not also be included in the Names array. |
TelephoneNumber | Yes | No | See note below. |
Info |
---|
For multi-valued attributes, only one attribute of a given type is currently supported. For example, there can only be one Possible types may vary by CO, see |
Example
...
Code Block | ||
---|---|---|
| ||
$myData = array(
'OrgIdentity' => array(
'title' => 'Researcher',
'o' => 'University of Impossible Equations',
'ou' => 'Department of Timey Wimey Stuff'
),
'PrimaryName' => array(
'given' => 'Pat',
'family' => 'Lee',
'type' => 'official',
'primary_name' => true
),
// Note below here are multi-valued arrays
'Identifier' => array(
array(
'identifier' => 'plee@university.edu',
'type' => 'eppn',
'login' => true
)
),
'EmailAddress' => array(
array(
'mail' => 'plee@university.edu',
'type' => 'official',
'verified' => true
),
array(
'mail' => 'plee@socialemail.com',
'type' => 'personal',
'verified' => false
)
)
); |