Given that Users are system wide entities, we have allowed you to pass in a Company of -1 to return a list of all companies the user has access to. If you pass in an actual company code, you will only receive that particular company in the response.
eg http://server:port/-1/User vs http://server:port/01/User
URL
Verbs
Function
/User/<name>
GET
Query a single User by their User name
Sample XML Response
<?xml version="1.0" encoding="UTF-8"?>
<User> <RealName>Super</RealName> <Name>SUPER</Name> <Companies collection='true' count='1'> <Company> <Code>01</Code> <Name>e-Computers - Australia</Name> <IsDefault>true</IsDefault> </Company> </Companies> </User>
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.