Package com.hp.ucmdb.api.users
Interface SystemUserService
public interface SystemUserService
User: ashkinaz
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSystemUser(SystemUserInfo user) Adds a new system user.voidchangeRegularUserPassword(Integer customerID, String userName, String newPassword) Change the password of a regular uservoidchangeSystemUserPassword(String userName, String newPassw) Updates system user password.Returns all system users.SystemUserFactory is used for creating user relating objects.voidremoveSystemUser(String userName) Removes system user .voidsetCMDBSuperIntegrationUser(String integrationUser, String password) voidUpdates system user properties excluding password.
-
Method Details
-
addSystemUser
Adds a new system user. Here is an example of using this method:SystemUserService systemUserService=ucmdbManagementService.getSystemUserService(); SystemUserInfo user=systemUserService.getFactory().createSystemUser("user name"); user.setAddress("adress"); user.setEmail("email"); systemUserService.addSystemUser(user); -
removeSystemUser
Removes system user . -
updateSystemUser
Updates system user properties excluding password. -
changeSystemUserPassword
Updates system user password. -
getAllSystemUsers
Collection<SystemUserInfo> getAllSystemUsers()Returns all system users. -
changeRegularUserPassword
Change the password of a regular user -
setCMDBSuperIntegrationUser
- Parameters:
integrationUser-password-
-
getFactory
SystemUserFactory getFactory()SystemUserFactory is used for creating user relating objects.
-