Partager via


2.2.4.7 t:BasePermissionType

The BasePermissionType complex type is an abstract type that defines base permissions for items and folders.

 <xs:complexType name="BasePermissionType"
   abstract="true"
 > 
   <xs:sequence>
     <xs:element name="UserId"
       type="t:UserIdType"
       maxOccurs="1"
       minOccurs="1"
      />
     <xs:element name="CanCreateItems"
       type="xs:boolean"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="CanCreateSubFolders"
       type="xs:boolean"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="IsFolderOwner"
       type="xs:boolean"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="IsFolderVisible"
       type="xs:boolean"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="IsFolderContact"
       type="xs:boolean"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="EditItems"
       type="t:PermissionActionType"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="DeleteItems"
       type="t:PermissionActionType"
       minOccurs="0"
       maxOccurs="1"
      />
   </xs:sequence>
 </xs:complexType>
  

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

Element name

Type

Description

UserId

t:UserIdType ([MS-OXWSCDATA] section 2.2.4.73)

Specifies a user identifier. This element MUST be present.

CanCreateItems

xs:boolean [XMLSCHEMA2]

Specifies whether a client can create items in a folder. A value of "true" indicates that the client can create an item. IsFolderOwner MUST also be "true" for the client. This element can be present.

CanCreateSubFolders

xs:boolean

Specifies whether the client can create subfolders. A value of "true" indicates that the client can create a subfolder. IsFolderOwner MUST also be "true" for the client. This element can be present.

IsFolderOwner

xs:boolean

Specifies whether the user is the owner of a folder. A value of "true" indicates that the user is the owner of the folder. This element can be present.

IsFolderVisible

xs:boolean

Specifies whether a user can view a folder. A value of "true" indicates that the folder is visible. This element can be present.

IsFolderContact

xs:boolean

Specifies whether a user is a contact for a folder. A value of "true" indicates that the user is the contact for the folder. This element can be present.

EditItems

t:PermissionActionType (section 2.2.5.2)

Specifies whether a client can edit items in the folder. IsFolderOwner MUST also be "true" for the client. This element can be present.

DeleteItems

t:PermissionActionType

Specifies whether the client can delete items in the folder. IsFolderOwner MUST also be "true" for the client. This element can be present.

The PermissionType complex type, as specified in section 2.2.4.15, and the CalendarPermissionType complex type, as specified in [MS-OXWSMTGS] section 2.2.4.8, extend the BasePermissionType complex type.