User Role Management APIs User Console Resource
The UserConsoleResource service provides both shared and user-specific state or settings related with the use of the Pentaho User Console.
Returns whether the current user is an administrator.
Example Request:
GET pentaho/api/mantle/isAdministratorcURL Example:
curl -X GET \
"http://localhost:8080/pentaho/api/mantle/isAdministrator" \
-H "Authorization: Basic YWRtaW46cGFzc3dvcmQ="Example Response:
trueReturns: String true if the user is an administrator, or false otherwise.
Authorizations
Responses
200
Returns the boolean response
text/plain
Responsestring
Boolean value indicating administrator status
get
/mantle/isAdministratorGET /mantle/isAdministrator HTTP/1.1
Host:
Authorization: Basic username:password
Accept: */*
200
Returns the boolean response
trueReturns whether the user is an authenticated user or not.
Example Request:
GET pentaho/api/mantle/isAuthenticatedcURL Example:
curl -X GET \
"http://localhost:8080/pentaho/api/mantle/isAuthenticated" \
-H "Authorization: Basic YWRtaW46cGFzc3dvcmQ="Example Response:
trueReturns: String true if the user is authenticated, or false otherwise.
Authorizations
Responses
200
Returns the boolean response
text/plain
Responsestring
Boolean value indicating authentication status
401
User is not authenticated
get
/mantle/isAuthenticatedGET /mantle/isAuthenticated HTTP/1.1
Host:
Authorization: Basic username:password
Accept: */*
trueWas this helpful?

