Person DataObject

Person は人を表します。

Person データ・オブジェクトの構造は、以下のものから構成されます。
identifier
単一の IdentifierType DataObject を含みます。
parent
Virtual member manager の階層で、エンティティーの親へのリンクに使用される包含プロパティーです。1 つのエンティティーは 1 つの親しか持てないので、これには単一の Entity データ・オブジェクト のみが含まれます。また、どのエンティティーも他のエンティティーの親になることができるので、このプロパティーのデータ・オブジェクトは Entity データ・オブジェクトです。
children
Virtual member manager の階層で、エンティティーの子へのリンクに使用される包含プロパティーです。エンティティーの子は複数あってもよいので、複数の Entity データ・オブジェクトを含みます。 また、どのエンティティーも他のエンティティーの子になることができるので、このプロパティーのデータ・オブジェクトは Entity データ・オブジェクトです。
groups
このエンティティーが属しているグループへのリンクに使用される 包含プロパティーです。同じエンティティーが複数のグループに属していてもよいので、複数の Group データ・オブジェクトを含みます。
changeType
は、変更済みエンティティーの検索に対する応答としてのみ設定されるオプションのプロパティーです。このプロパティーは、発生した変更のタイプを示します。変更には、新規エンティティーの追加、既存のエンティティーの変更、エンティティーの削除、エンティティーの名前変更があります。changeType プロパティーの有効な値とストリング定数は、add (CHANGETYPE_ADD)、delete (CHANGETYPE_DELETE)、modify (CHANGETYPE_MODIFY)、および rename (CHANGETYPE_RENAME) です。
その他のプロパティー
  • 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 スキーマ定義

次に、Person DataObject の XML スキーマ定義を示します。
注: この定義には、プロパティーのサンプルが含まれています。 サポートされるプロパティーをすべて網羅したリストについては、wimdomain.xsd ファイルを参照してください。
  <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>

サンプル・データ・オブジェクト

次に、3 つのプロパティーを含む Person データ・オブジェクトのサンプルを示します。
<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>


利用条件 | フィードバック