public class UserManagementServiceClientImpl extends Object implements UserManagementServiceClient
UserManagementService.| Constructor and Description |
|---|
UserManagementServiceClientImpl(com.lexmark.saperion.administration.UserManagementService userManagementService) |
| Modifier and Type | Method and Description |
|---|---|
com.lexmark.saperion.administration.UserReferenceType |
createUser(com.lexmark.saperion.administration.CreateUserPropertiesType properties)
This method creates a new user with the given properties.
|
com.lexmark.saperion.administration.UserReferenceType |
createUser(String shortName,
String password)
This is a shorthand to
UserManagementServiceClient.createUser(CreateUserPropertiesType). |
com.lexmark.saperion.administration.UserReferenceType |
createUser(String shortName,
String fullName,
String password,
String description,
String emailAddress)
This method creates a new user with the given properties.
|
UserClient |
getCurrentUser()
This method returns an administration client for the current user.
|
UserContextClient |
getCurrentUserContext() |
UserClient |
resolve(com.lexmark.saperion.administration.UserReferenceType reference)
This method returns an administration client for the user referenced.
|
UserClient |
resolveName(String userName)
This method returns an administration client for the user with the given name.
|
SearchClient<com.lexmark.saperion.administration.UserType> |
search()
This method returns a search client for searching users.
|
SearchClient<com.lexmark.saperion.administration.UserType> |
searchDeleted()
This method returns a search client for searching deleted users.
|
public UserManagementServiceClientImpl(com.lexmark.saperion.administration.UserManagementService userManagementService)
public UserClient resolve(com.lexmark.saperion.administration.UserReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
UserManagementServiceClientresolve in interface UserManagementServiceClientreference - a reference to the user to administratecom.lexmark.saperion.exceptions.EcmExceptionpublic UserClient resolveName(String userName) throws com.lexmark.saperion.exceptions.EcmException
UserManagementServiceClientresolveName in interface UserManagementServiceClientuserName - the name of the user to administratecom.lexmark.saperion.exceptions.EcmExceptionpublic SearchClient<com.lexmark.saperion.administration.UserType> search() throws com.lexmark.saperion.exceptions.EcmException
UserManagementServiceClientsearch in interface UserManagementServiceClientcom.lexmark.saperion.exceptions.EcmExceptionpublic SearchClient<com.lexmark.saperion.administration.UserType> searchDeleted() throws Exception
UserManagementServiceClientsearchDeleted in interface UserManagementServiceClientcom.lexmark.saperion.exceptions.EcmExceptionExceptionpublic com.lexmark.saperion.administration.UserReferenceType createUser(com.lexmark.saperion.administration.CreateUserPropertiesType properties)
throws com.lexmark.saperion.exceptions.EcmException
UserManagementServiceClientcreateUser in interface UserManagementServiceClientproperties - the properties of the usercom.lexmark.saperion.exceptions.EcmExceptionpublic com.lexmark.saperion.administration.UserReferenceType createUser(String shortName, String fullName, String password, String description, String emailAddress) throws com.lexmark.saperion.exceptions.EcmException
UserManagementServiceClientcreateUser in interface UserManagementServiceClientshortName - the short name (display name) of the new userfullName - the full name of the new userpassword - the password of the userdescription - a description of the new useremailAddress - the email address of the usercom.lexmark.saperion.exceptions.EcmExceptionpublic com.lexmark.saperion.administration.UserReferenceType createUser(String shortName, String password) throws com.lexmark.saperion.exceptions.EcmException
UserManagementServiceClientUserManagementServiceClient.createUser(CreateUserPropertiesType). It is equivalent to caling
createUser(shortName, shortName, password, "", "").createUser in interface UserManagementServiceClientshortName - the short name (display name) of the new userpassword - the password of the usercom.lexmark.saperion.exceptions.EcmExceptionpublic UserClient getCurrentUser() throws com.lexmark.saperion.exceptions.EcmException
UserManagementServiceClientgetCurrentUser in interface UserManagementServiceClientcom.lexmark.saperion.exceptions.EcmException - when loading the current user failedpublic UserContextClient getCurrentUserContext() throws com.lexmark.saperion.exceptions.EcmException
getCurrentUserContext in interface UserManagementServiceClientcom.lexmark.saperion.exceptions.EcmExceptionCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.