2.2.4.2.2.26 MiningModelPermission

The MiningModelPermission complex type MAY<115> represent permissions for a MiningModel.

   <xsd:complexType name="MiningModelPermission">
     <xsd:complexContent>
       <xsd:extension base="Permission">
         <xsd:sequence>
           <!--Extended elements for MiningModelPermission object-->
           <xsd:element name="AllowDrillThrough" type="xsd:boolean" minOccurs="0"/>
           <xsd:element name="AllowBrowsing" type="xsd:boolean" minOccurs="0"/>
           <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>
            

The following table shows only the additional elements that are not contained in Permission.

Element

Read-Only

Default value

Description

AllowDrillThrough

False

When true, indicates that drillthrough is allowed on the MiningModel; otherwise, false.

AllowBrowsing

True

When true, indicates that browsing is allowed on the object; otherwise, false.

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.