2.2.4.12 t:FolderType

The FolderType complex type represents a regular folder in the server database. The FolderType complex type extends the BaseFolderType complex type, as specified in section 2.2.4.5.

 <xs:complexType name="FolderType">
   <xs:complexContent>
     <xs:extension
       base="t:BaseFolderType"
     >
       <xs:sequence>
         <xs:element name="PermissionSet"
           type="t:PermissionSetType"
           minOccurs="0"
          />
         <xs:element name="UnreadCount"
           type="xs:int"
           minOccurs="0"
          />
       </xs:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>
  

The following table lists the child elements of the FolderType complex type.

Element name

Type

Description

PermissionSet

t:PermissionSetType (section 2.2.4.14)

Specifies all permissions that are configured for a folder. This element can be present.

UnreadCount

xs:int ([XMLSCHEMA2])

Specifies the number of unread items in a folder. This element MUST only exist in responses and MUST equal the sum of all MessageType complex types ([MS-OXWSMSG] section 2.2.4.3) and PostItemType complex types ([MS-OXWSPOST] section 2.2.4.1) that have the IsRead property set to "false". This element can be present.

The SearchFolderType complex type ([MS-OXWSSRCH] section 2.2.3.26) and the TasksFolderType complex type ([MS-OXWSTASK] section 2.2.4.5) extend the FolderType complex type.