Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Reference > Program model > Entity DataObject


Person DataObject

Person represents a human.

The structure of an Person data object consists of:

identifier contains a single IdentifierType data object.
parent is a containment property which is used to link to the parent of the entity in the virtual member manager hierarchy. It only contains a single Entity data object because an entity can only have one parent. Also, because any entity can be parent of any other entity, the data object in the property is an Entity data object.
children is a containment property used to link to the children of the entity in the virtual member manager hierarchy. It contains multiple Entity data objects because an entity can have multiple children. Also, because any entity can be a child of another entity, the data object in the property is an Entity data object.
groups is a containment property which is used to link to the groups this entity belongs to. It contains multiple Group data objects because an entity can belong to multiple groups.
changeType is an optional property that is set only in response to a search for changed entities. It describes the type of change that occurred, which could be adding a new entity, modifying an existing entity, deleting an entity, or renaming an entity. The valid values and string constants of the changeType property are add (for CHANGETYPE_ADD), delete (for CHANGETYPE_DELETE), modify (for CHANGETYPE_MODIFY), and rename (for CHANGETYPE_RENAME).
additional properties

  • businessCategory
  • businessAddress
  • c
  • carLicense
  • cn
  • countryName
  • departmentNumber
  • description
  • displayName
  • employeeNumber
  • facsimileTelephoneNumber
  • givenName
  • homeAddress
  • homePostalAddress
  • ibm-jobTitle
  • ibm-primaryEmail
  • initials
  • jpegPhoto
  • l
  • labeledURI
  • localityName
  • mail
  • manager
  • mobile
  • pager
  • postalAddress
  • postalCode
  • preferredLanguage
  • roomNumber
  • st
  • secretary
  • seeAlso
  • sn
  • stateOrProvinceName
  • street
  • telephoneNumber
  • title
  • uid


XML schema definition

The following is the XML schema definition for Person DataObject:

This definition contains a sample of the properties. See the wimdomain.xsd file for the complete listing of supported properties.

<xsd:complexType name="Person">
<xsd:complexContent>
<xsd:extension base="Party">  
<xsd:group ref="PersonPropertyGroup"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>

<xsd:group name="PersonPropertyGroup">
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" ref="uid"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="cn"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="sn"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="preferredLanguage"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="displayName"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="initials"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="mail"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="ibm-primaryEmail"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="jpegPhoto"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="labeledURI"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="carLicense"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="telephoneNumber"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="facsimileTelephoneNumber"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="pager"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="mobile"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="homePostalAddress"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="postalAddress"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="roomNumber"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="l"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="localityName"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="st"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="stateOrProvinceName"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="street"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="postalCode"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="employeeNumber"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="manager"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="secretary"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="departmentNumber"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="title"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="ibm-jobTitle"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="c"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="countryName"/>
<xsd:element ref="givenName" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="homeAddress" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="businessAddress" minOccurs="0" maxOccurs="unbounded" />
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="description"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="businessCategory"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="seeAlso"/>
</xsd:sequence>
</xsd:group> 


Sample data object

Following is a sample Person data object that contains three properties:

<wim:Root>
<wim:entities xsi:type="wim:Person">
<wim:identifier externalName="uid=SalesManager,cn=people,dc=soundpost,dc=com"
                  repositoryId="LDAP1"
                  uniqueId="eeee9206-1dd111b2-80d5f611-4d759b2b"
                  uniqueName="uid=SalesManager,cn=users,dc=yourco,dc=com"/>
<wim:uid>SalesManager
</wim:uid>
<wim:cn>SalesManager
</wim:cn>
<wim:sn>SalesManagerSn
</wim:sn>
</wim:entities>
</wim:Root> 

Parent topic: Entity DataObject



+

Search Tips   |   Advanced Search