Class SystemUsersResource

java.lang.Object
org.pentaho.platform.web.http.api.resources.AbstractJaxRSResource
org.pentaho.platform.web.http.api.resources.SystemUsersResource

public class SystemUsersResource extends AbstractJaxRSResource
This service allows for listing system users in the BA Platform.
  • Constructor Details

    • SystemUsersResource

      public SystemUsersResource()
  • Method Details

    • getUsers

      public javax.ws.rs.core.Response getUsers() throws Exception
      Returns the list of users in the platform, this list is in an xml format as shown in the example response.

      Example Request:

          GET pentaho/api/users
       
      Returns:
      Response object containing an xml list of users in the platform

      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>
       
      Throws:
      Exception
    • getSystemService

      protected SystemService getSystemService()
    • buildOkResponse

      protected javax.ws.rs.core.Response buildOkResponse(Object entity, String type)