Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Reference > Virtual member manager APIs > ProfileService interface
update method
Use the update method to modify the information of an entity.
Purpose
The update method modifies the entity specified in the root data object. This method is used for updating information related to the entity, such as properties, assigning entities to groups, or moving an entity to a different parent.The information can be modified in either of two ways.
- The caller can create an empty root data object and specify the changes needed. This data object with the changed values replaces the existing data object and its existing values.
- The caller can call the get method to get the specified values to be updated, make the changes, then send modifications back to the update method.
Parameters
root
Root data object containing entity with changes that need to be updated.
Returns
The root data object containing the updated entity with its identifier.
Exceptions
- WIMException:
- RemoteException:
Signature
public DataObject update(DataObject root) throws WIMException, RemoteException
Parent topic: ProfileService interface
Referential integrity