Skip to main content
Omnitracs Knowledge Base

RoleDetails Object

Extended information about a user role is implemented in the RoleDetails object. The attributes of the RoleDetails object are:

 

Attribute

 

 

Description

 

name

A string of maximum length 25 containing the name of the role.

description

A string of maximum length 50 containing a description of the role.

capabilities

An array of Capability objects containing information about the capabilities associated with this role.

 

WSDL Definition

 

Here is how the RoleDetails object is defined within the WSDL.

<complexType name="RoleDetails">

   <sequence>

      <element name="name" nillable="true" type="xsd:string"/>

      <element name="description" nillable="true" type="xsd:string"/>

      <element name="capabilities" nillable="true" type="tns2:ArrayOfCapability"/>

   </sequence>

</complexType>

 

 

Sample XML

 

Here is some sample XML that shows what the RoleDetails object will look like in XML.

<role>

   <capabilities>

      <Capability>

         <applicationId/>

         <description/>

         <group/>

         <id>C.QT.0000</id>

         <position/>

      </Capability>

      <Capability>

         <applicationId/>

         <description/>

         <group/>

         <id>C.QT.0106</id>

         <position/>

      </Capability>

      <Capability>

         <applicationId/>

         <description/>

         <group/>

         <id>C.QT.0121</id>

         <position/>

      </Capability>

   </capabilities>

   <description>QTRACS dispatcher</description>

   <name>Dispatcher</name>

</role>

LikeBe the first to like this

  • Was this article helpful?