The following example shows the typical format for an ExtendedRequest.
ExtendedRequest req = new ExtendedRequest(); req.setOperationIdentifier("changeUserPassword"); req.setAttribute("accountId", "exampleuser"); req.setAttribute("password", "xyzzy"); req.setAttribute("accounts","Lighthouse,LDAP,RACF"); ExtendedResponse res = (ExtendedResponse) client.send(req);
Most SPML ExtendedRequest requests accept the following arguments:
accountId – Identifies the Identity Manager user name.
accounts – Presents resource names in a comma-delimited list.
If you pass an accounts argument, the specified SPML operation only updates the specified resources. You must include the Lighthouse attribute in a non-null accounts list if you want to update the Identity Manager user in addition to specific resource accounts.
If you do not pass an accounts argument, the operation updates all resource accounts linked to the user, including the Identity Manager user account.