public interface UserService
Modifier and Type | Method and Description |
---|---|
List<com.lexmark.saperion.administration.TenantReferenceType> |
listAdministratedTenants(com.lexmark.saperion.administration.UserReferenceType user)
This methods returns a list with references to every tenant in the system, the given user is an admin for.
|
com.lexmark.saperion.administration.UserType |
loadUser(String name)
This method loads a user given its name.
|
com.lexmark.saperion.administration.UserType |
loadUser(com.lexmark.saperion.administration.UserReferenceType reference)
This method loads a user given a reference to it.
|
com.lexmark.saperion.administration.UserType loadUser(com.lexmark.saperion.administration.UserReferenceType reference) throws NativeException
reference
- a reference to the user to load.NativeException
com.lexmark.saperion.administration.UserType loadUser(String name) throws NativeException
name
- the name of the user to load.NativeException
List<com.lexmark.saperion.administration.TenantReferenceType> listAdministratedTenants(com.lexmark.saperion.administration.UserReferenceType user) throws NativeException
user
- a reference to the user to find the tenants forNativeException
Copyright © 2016 SAPERION AG. All rights reserved.