2.2.4.2.2.22 DatabasePermission

The DatabasePermission complex type represents permissions for a Database.

   <xsd:complexType name="DatabasePermission">
     <xsd:complexContent>
       <xsd:extension base="Permission">
         <xsd:sequence>
           <xsd:element name="Administer" type="xsd:boolean" minOccurs="0"/>
           <xsd:element name="Write" minOccurs="0">
             <xsd:simpleType>
               <xsd:restriction base="xsd:string" >
                 <xsd:enumeration value="None" />
               </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 the Permission object.

Element

Read-Only

Default value

Description

Administer

False

When true, specifies that the Role has permission to administer the Database; otherwise, false.

Write

"None"

A string that specifies whether the role has permission to write to the object or any of its contained objects.

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