Compartilhar via


2.2.4.2.2.21.3 CellPermission

The CellPermission complex type represents permissions for the cells in a Cube.

A maximum of three CellPermission objects can exist within a CellPermissions collection, one each for the Read, ReadContingent, and ReadWrite values of the Access element.

   <xsd:complexType name="CellPermission">
     <xsd:all>
       <xsd:element name="Access" >
         <xsd:simpleType>
           <xsd:restriction base="xsd:string" >
             <xsd:enumeration value="Read" />
             <xsd:enumeration value="ReadContingent" />
             <xsd:enumeration value="ReadWrite" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
       <xsd:element name="Expression" type="xsd:string" minOccurs="0"/>
       <xsd:element name="Annotations" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Annotation"  type="Annotation" minOccurs="0"
                          maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
     </xsd:all>
   </xsd:complexType>

Element

Read-Only

Default value

Description

Access

"Read"

An enumeration value that indicates the type of access being granted. The enumeration values are as follows:

  • Read – Read access to the cell is permitted.

  • ReadContingent – ReadContingent access to the cell is permitted.

  • ReadWrite – ReadWrite access to the cell is permitted.

Description

Empty

The object description.

Expression

Empty

An MDX expression that returns a Boolean.

Annotations

Empty

A collection of Annotation objects.