public interface UserManagementServiceClient
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
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()
Deprecated.
use
getCurrentUserContext() instead |
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.
|
UserClient resolve(com.lexmark.saperion.administration.UserReferenceType reference) throws com.lexmark.saperion.exceptions.EcmException
reference
- a reference to the user to administratecom.lexmark.saperion.exceptions.EcmException
UserClient resolveName(String userName) throws com.lexmark.saperion.exceptions.EcmException
userName
- the name of the user to administratecom.lexmark.saperion.exceptions.EcmException
SearchClient<com.lexmark.saperion.administration.UserType> search() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.EcmException
SearchClient<com.lexmark.saperion.administration.UserType> searchDeleted() throws Exception
com.lexmark.saperion.exceptions.EcmException
Exception
com.lexmark.saperion.administration.UserReferenceType createUser(com.lexmark.saperion.administration.CreateUserPropertiesType properties) throws com.lexmark.saperion.exceptions.EcmException
properties
- the properties of the usercom.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.administration.UserReferenceType createUser(String shortName, String fullName, String password, String description, String emailAddress) throws com.lexmark.saperion.exceptions.EcmException
shortName
- 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.EcmException
com.lexmark.saperion.administration.UserReferenceType createUser(String shortName, String password) throws com.lexmark.saperion.exceptions.EcmException
createUser(CreateUserPropertiesType)
. It is equivalent to caling
createUser(shortName, shortName, password, "", "")
.shortName
- the short name (display name) of the new userpassword
- the password of the usercom.lexmark.saperion.exceptions.EcmException
@Deprecated UserClient getCurrentUser() throws com.lexmark.saperion.exceptions.EcmException
getCurrentUserContext()
insteadcom.lexmark.saperion.exceptions.EcmException
- when loading the current user failedUserContextClient getCurrentUserContext() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.EcmException
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.