public class SystemUsersResource extends AbstractJaxRSResource
acceptableMediaTypes, httpServletRequest, httpServletResponse, TEXT_HTML
Constructor and Description |
---|
SystemUsersResource() |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
buildOkResponse(Object entity,
String type) |
protected SystemService |
getSystemService() |
javax.ws.rs.core.Response |
getUsers()
Returns the list of users in the platform, this list is in an xml format as shown in the example response.
|
setHttpHeaders
public javax.ws.rs.core.Response getUsers() throws Exception
Example Request:
GET pentaho/api/users
Example Response:
<?xml version="1.0" encoding="UTF-8"?><users><user>pat</user><user>admin</user><user>suzy</user><user>tiffany</user><user>enco*de:te^s_t$</user></users>
Exception
protected SystemService getSystemService()
Copyright © 2017 Hitachi Vantara. All rights reserved.