public class DefaultUserRoleListWebService extends Object implements IUserRoleListWebService
IUserRoleListWebService
that delegates to an IUserRoleListService
instance.Constructor and Description |
---|
DefaultUserRoleListWebService()
No-arg constructor for when in Pentaho BI Server.
|
DefaultUserRoleListWebService(org.pentaho.platform.api.engine.IUserRoleListService userRoleListService) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllRoles()
This method returns the entire set of roles in the system
|
List<String> |
getAllRolesForTenant(org.pentaho.platform.core.mt.Tenant tenant) |
List<String> |
getAllUsers()
This method returns the entire set of users in the system
|
List<String> |
getAllUsersForTenant(org.pentaho.platform.core.mt.Tenant tenant) |
List<String> |
getRolesForUser(String username) |
org.pentaho.platform.api.engine.security.userroledao.UserRoleInfo |
getUserRoleInfo()
This method returns the entire set of users and roles in the system
|
List<String> |
getUsersInRole(String role) |
public DefaultUserRoleListWebService()
public DefaultUserRoleListWebService(org.pentaho.platform.api.engine.IUserRoleListService userRoleListService)
public List<String> getAllRoles()
IUserRoleListWebService
getAllRoles
in interface IUserRoleListWebService
public List<String> getAllUsers()
IUserRoleListWebService
getAllUsers
in interface IUserRoleListWebService
public org.pentaho.platform.api.engine.security.userroledao.UserRoleInfo getUserRoleInfo()
IUserRoleListWebService
getUserRoleInfo
in interface IUserRoleListWebService
public List<String> getAllRolesForTenant(org.pentaho.platform.core.mt.Tenant tenant)
getAllRolesForTenant
in interface IUserRoleListWebService
public List<String> getAllUsersForTenant(org.pentaho.platform.core.mt.Tenant tenant)
getAllUsersForTenant
in interface IUserRoleListWebService
Copyright © 2019 Hitachi Vantara. All rights reserved.