Service: zimbraAdmin
Namespace: "urn:zimbraAdmin"
GetDelegatedAdminConstraints SOAP Command

Get constraints (zimbraConstraint) for delegated admin on global config or a COS
none or several attributes can be specified for which constraints are to be returned.
If no attribute is specified, all constraints on the global config/cos will be returned.
If there is no constraint for a requested attribute, <a> element for the attribute will not appear in the response.

e.g.

     <GetDelegatedAdminConstraintsRequest type="cos" name="cos1">
       <a name="zimbraMailQuota">
     </GetDelegatedAdminConstraintsRequest>

     <GetDelegatedAdminConstraintsResponse type="cos" id="e00428a1-0c00-11d9-836a-000d93afea2a" name="cos1">
       <a n="zimbraMailQuota">
         <constraint>
           <max>524288000</max>
           <min>20971520</min>
         </constraint>
       </a>
     </GetDelegatedAdminConstraintsResponse>
 

Authorization token required true
Admin Authorization token required true

GetDelegatedAdminConstraintsRequest

    <GetDelegatedAdminConstraintsRequest
                                            type="(account|calresource|cos|dl|group|domain|server|alwaysoncluster|ucservice|xmppcomponent|zimlet|config|global)"
                                            [id="..."] [name="..."]> ## GetDelegatedAdminConstraintsRequest
        (<a [name="..."] /> ## NamedElement)*
    </GetDelegatedAdminConstraintsRequest>

The following table describes elements and attributes you can define within a <GetDelegatedAdminConstraintsRequest> element:

XPath Required / Optional Description
@type Required (only 1) Type:account|calresource|cos|dl|group|domain|server|alwaysoncluster|ucservice|xmppcomponent|zimlet|config|global
Target Type
@id Optional (0 or 1) Type:String
ID
@name Optional (0 or 1) Type:String
name
/a Optional (0 or more) Attrs
/a@name Optional (0 or 1) Type:String
Name

GetDelegatedAdminConstraintsResponse

    <GetDelegatedAdminConstraintsResponse> ## GetDelegatedAdminConstraintsResponse
        (<a name="{constraint-name}"> ## ConstraintAttr
            <constraint> ## ConstraintInfo
                <min>{min} (String)</min>
                <max>{max} (String)</max>
                <values>
                    (<v>{values} (String)</v>)*
                </values>
            </constraint>
          </a>)*
    </GetDelegatedAdminConstraintsResponse>

The following table describes elements and attributes you can define within a <GetDelegatedAdminConstraintsResponse> element:

XPath Required / Optional Description
/a Optional (0 or more) Constraint attributes
/a@name Required (only 1) Type:String
Constraint name
/a/constraint Required (only 1) Constraint information
/a/constraint/min Optional (0 or 1) Type:{min} (String)
Minimum value
/a/constraint/max Optional (0 or 1) Type:{max} (String)
Maximum value
/a/constraint/values Required (only 1)
/a/constraint/values/v Optional (0 or more) Type:{values} (String)