public class UserManagementServiceClientImpl extends Object implements UserManagementServiceClient
UserManagementService
.Constructor and Description |
---|
UserManagementServiceClientImpl(UserManagementService userManagementService) |
Modifier and Type | Method and Description |
---|---|
UserReferenceType |
createUser(CreateUserPropertiesType properties)
This method creates a new user with the given properties.
|
UserReferenceType |
createUser(String shortName,
String password)
This is a shorthand to
UserManagementServiceClient.createUser(CreateUserPropertiesType) . |
UserReferenceType |
createUser(String shortName,
String fullName,
String password,
String description,
String emailAddress)
This method creates a new user with the given properties.
|
UserClient |
resolve(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<UserListItemType> |
search()
This method returns a search client for searching users.
|
SearchClient<UserListItemType> |
searchDeleted()
This method returns a search client for searching deleted users.
|
public UserManagementServiceClientImpl(UserManagementService userManagementService)
public UserClient resolve(UserReferenceType reference) throws EcmException
UserManagementServiceClient
resolve
in interface UserManagementServiceClient
reference
- a reference to the user to administrateEcmException
public UserClient resolveName(String userName) throws EcmException
UserManagementServiceClient
resolveName
in interface UserManagementServiceClient
userName
- the name of the user to administrateEcmException
public SearchClient<UserListItemType> search() throws EcmException
UserManagementServiceClient
search
in interface UserManagementServiceClient
EcmException
public SearchClient<UserListItemType> searchDeleted() throws Exception
UserManagementServiceClient
searchDeleted
in interface UserManagementServiceClient
EcmException
Exception
public UserReferenceType createUser(CreateUserPropertiesType properties) throws EcmException
UserManagementServiceClient
createUser
in interface UserManagementServiceClient
properties
- the properties of the userEcmException
public UserReferenceType createUser(String shortName, String fullName, String password, String description, String emailAddress) throws EcmException
UserManagementServiceClient
createUser
in interface UserManagementServiceClient
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 userEcmException
public UserReferenceType createUser(String shortName, String password) throws EcmException
UserManagementServiceClient
UserManagementServiceClient.createUser(CreateUserPropertiesType)
. It is equivalent to caling
createUser(shortName, shortName, password, "", "")
.createUser
in interface UserManagementServiceClient
shortName
- the short name (display name) of the new userpassword
- the password of the userEcmException
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.