76.0 Get User Roles

76.2 Data Returned

Back to Index
Returned information:
Reply Data
Name Description
id The id of the role.
role The name of the role.

Example Request:

https://test.zonarsystems.net/interface.php?action=adminusers&operation=getroles&format=xml

DTD:

<!ELEMENT user_roles(role*)>
<!ATTLIST user_roles ver CDATA #REQUIRED>
<!ELEMENT user (#PCDATA)>
<!ATTLIST user id CDATA #REQUIRED>

Example Reply:

<user_roles ver="1">
<role id="1">Admin</role>
<role id="2">Mechanic</role>
</user_roles>

Is this api manual documents helpful?
0 out of 0 said Yes
YesNo