Share via


AttributeTypeDescription

The AttributeTypeDescription resource is an internal resource that is used to represent the schema for FIM properties.

Schema

<?xml version="1.0"?><xs:schema xmlns:rm="https://schemas.microsoft.com/2006/11/ResourceManagement" targetNamespace="https://schemas.microsoft.com/2006/11/ResourceManagement" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="AttributeTypeDescription">
    <xs:sequence>
      <xs:element minOccurs="0" name="ObjectID" type="rm:ReferenceType" />
      <xs:element minOccurs="1" name="ObjectType">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value=".{0,448}" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element minOccurs="1" name="CreatedTime" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Creator" type="rm:ReferenceType" />
      <xs:element minOccurs="0" name="MVObjectID">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value=".{0,448}" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element minOccurs="1" name="DataType">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value="^(Binary|Boolean|DateTime|Integer|Reference|String|Text)$" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element minOccurs="0" name="DeletedTime" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Description">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value=".{0,448}" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element minOccurs="0" name="DetectedRulesList" type="rm:ReferenceCollectionType" />
      <xs:element minOccurs="0" name="DisplayName">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value=".{0,448}" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element minOccurs="0" name="ExpectedRulesList" type="rm:ReferenceCollectionType" />
      <xs:element minOccurs="0" name="ExpirationTime" type="xs:dateTime" />
      <xs:element minOccurs="0" name="IntegerMaximum" type="xs:integer" />
      <xs:element minOccurs="0" name="IntegerMinimum" type="xs:integer" />
      <xs:element minOccurs="0" name="Localizable" type="xs:boolean" />
      <xs:element minOccurs="0" name="Locale">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value=".{0,448}" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element minOccurs="1" name="Multivalued" type="xs:boolean" />
      <xs:element minOccurs="1" name="Name">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:pattern value="^[(a-z)(A-Z)(_)(:)][(a-z)(A-Z)(0-9)(\-)(.)(_)(:)]*$" />
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element minOccurs="0" name="ResourceTime" type="xs:dateTime" />
      <xs:element minOccurs="0" name="StringRegex" type="xs:string" />
      <xs:element minOccurs="0" name="UsageKeyword" type="rm:StringCollectionType" />
    </xs:sequence>
  </xs:complexType>
</xs:schema>

Properties

The following table lists the properties of the AttributeTypeDescription resource:

Property Description

DataType

Required string property. Indicates the data type of the property. See DataType Property table.

IntegerMaximum

Optional Integer that defines the maximum value for the property if the property has a DataType of Integer.

IntegerMinimum

Optional Integer that defines the minimum for the property if the property has a DataType of Integer.

Localizable

Optional Boolean that indicates if the property value can be localized for different locales. The default value is false.

Multivalued

Required Boolean property. If true, multiple instances of the property can be created on a resource. The values stored in multi-valued property for the same resource must be unique.

Warning

Once an attribute is created it should not be changed from single-valued to multi-valued or vice versa.

Warning

Multi-valued Boolean properties are not supported. Creating a multi-valued Boolean property will cause the FIM Service to not be able to start unless reinstalled.

Name

Required String that defines the property name. Name is consistent with the naming convention specification at this location: http://www.w3.org/TR/2000/REC-xml-20001006.html.

StringRegex

Optional String property that defines the regular expression for a property that has a DataType value of String. The value of this property is validated against this regular expression if provided. This property allows the same syntax as the RegEx class (see Regular Expressions in ASP.Net).

Usage Keyword

Optional StringCollection property. For more information, see UsageKeyword.

DataType Property

The following table lists the valid values of the DataType property. Types that have an “xs:” prefix are standard XML types as defined by the W3C XML Schema.

Value Description

Binary

This type contains Base64-encoded data (per W3C Standard XML Encryption Requirement) and is used to support binary data. The maximum length for this data type is 264 bytes. The FIM Binary data type uses base64Binary defined as XSD standard Base64Binary.

Boolean

An xs:boolean value.

DateTime

A xs:dateTime value. The format of the dateTime data type is: yyyy '-' mm '-' dd 'T' hh ':' mm ':' ss ('.' s+)?, in compliance with Universal Coordinate Time (UCT). See Schema Data Types.

Integer

An xs:integer value (64 bits). See Schema Data Types.

Reference

A reference data type is represented as a Microsoft standard globally unique identifier (GUID). The GUID extends the xs:string type. See Schema Data Types.

String

The string data type extends the XSD standard string data type. Most strings used in FIM have a length restriction of 448 characters. See Schema Data Types.

Text

An xs:string data type.

Parent Elements

None

Remarks

All of the resource types in FIM have the same attribute bindings as the Resource type by default. For more information, see Forefront Identity Manager Schema.

See Also

Concepts

BindingDescription
How to: Retrieve the FIM Service Schema Using WS-MetadataExchange
Schema Data Types

Other Resources

Forefront Identity Manager Schema