共用方式為


2.2.4.2.2.21.1 CubeDimensionPermission

The CubeDimensionPermission complex type represents permissions for a CubeDimension.

   <xsd:complexType name="CubeDimensionPermission">
     <xsd:all>
       <xsd:element name="CubeDimensionID" type="xsd:string"/>
       <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
       <xsd:element name="Read" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string" >
             <xsd:enumeration value="None" />
             <xsd:enumeration value="Allowed" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="Write" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string" >
             <xsd:enumeration value="None" />
             <xsd:enumeration value="Allowed" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="AttributePermissions" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="AttributePermission"  type="AttributePermission"
                          minOccurs="0" maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <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

CubeDimensionID

[Required]

The ID of the CubeDimension. For the Measures dimension, this string MUST be set to "Measures".

Description

Empty

The object description.

Read

"Allowed"

Specifies whether the role has permission to read metadata or data from the CubeDimension.

Write

"None"

Specifies whether the role has permission to write to the CubeDimension.

AttributePermissions

Empty

A collection of AttributePermission objects.

Annotations

Empty

A collection of Annotation objects.