Example code - EnterWorks_Process_Exchange_(EPX) - 10.6

EnterWorks EPX Programmers Reference

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks > EnterWorks Process Exchange (EPX)
Version
10.6
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks EPX Programmers Reference
Topic type
Programming Reference
Reference
First publish date
2007

// this code retrieves a UserVO for some unique user identifier //and then updates the user definition

public UserVO updateUser(Integer userID) throws SecurityException

{

UserVO currentUser =

administrationFacade_.getUserObject

(userID.intValue(), this.getSessionProfile());

currentUser.setBusinessTitle("Senior Executive");

currentUser.setDepartment("Executive Staff");

return administrationFacade_.setUser

(currentUser,"newpassword",this.getSessionProfile());

}

}