次の方法で共有


2.2.4.2.2.27 CubePermission

The CubePermission complex type represents permissions for a Cube.

   <xsd:complexType name="CubePermission">
     <xsd:complexContent>
       <xsd:extension base="Permission">
         <xsd:sequence>
           <!--Extended elements for CubePermission object-->
           <xsd:element name="ReadSourceData" 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="DimensionPermissions" minOccurs="0">
             <xsd:complexType>
               <xsd:sequence>
                 <xsd:element name="DimensionPermission"
                              type="CubeDimensionPermission"
                              minOccurs="0" maxOccurs="unbounded"/>
               </xsd:sequence>
             </xsd:complexType>
           </xsd:element>
           <xsd:element name="CellPermissions" minOccurs="0" >
             <xsd:complexType>
               <xsd:sequence>
                 <xsd:element name="CellPermission"  type="CellPermission"
                              minOccurs="0" maxOccurs="3"/>
               </xsd:sequence>
             </xsd:complexType>
           </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:sequence>
       </xsd:extension >
     </xsd:complexContent>
   </xsd:complexType>

CubePermission inherits from Permission. The following table shows only the elements that are in addition to those contained in Permission.

Element

Read-Only

Default value

Description

ReadSourceData

"None"

Specifies whether the role has permission to read the underlying source data in the Cube.

DimensionPermissions

Inherited from DimensionPermissions on Dimension.

A collection of CubeDimensionPermission objects.

CellPermissions

A collection of CellPermission objects.

Write

"None"

A string that specifies whether the role has permission to write to the object or any of its contained objects. Write cannot be set to "Allowed" unless Read is also set to "Allowed".

"None" specifies no write access to object metadata or data.

"Allowed" specifies full write access to object metadata or data.