Update User Details
This Web service updates a specific user's details.
The update is done in a 'Swap All' mode: existing fields' information will be replaced with the incoming information. Incoming lists will replace existing lists.
Exception for this are the following fields:
roles - if the incoming list does not contain roles, exsiting roles will be kept.
External users: User group, Job title, PIN number, User language, Resource sharing libraries, Campus code and User title: these fields will not be replaced if updated manually (or if empty in the incoming user record), unless 'override' parameter is sent with the field's name.
|xs:string||A unique identifier for the user|
|xs:string||Optional. Default: all_unique||The type of identifier that is being searched. Optional. If this is not provided, all unique identifier types are used. The values that can be used are any of the values in the User Identifier Type code table.|
|xs:string||Optional.||The following fields of the user object are not replaced if they were updated manually: |
user_group, job_category, pin_number, preferred_language, campus_code, rs_libraries, user_title, library_notices.
To update these fields, specify the fields you want to replace in this parameter.
For example override=user_group,job_category. Default is empty.
|xs:string||Optional. Default: false||The email notification for PIN setting change will be sent|
This method takes a User object. See doc
This method returns a
User object. See doc
Possible Error Codes
|401890||User with identifier X of type Y was not found.|
|401859||Action currently not supported.|
|401676||No valid XML was given.|
|401858||The external id in DB does not fit the given value in xml - external id cannot be updated.|
|401855||The account type 'Internal with external authentication' is currently not supported.|
|500038||New password must be at least 8 characters long and must not include the user-name or any commonly used password.|
|401860||Failed to update user.|
|401652||General Error: An error has occurred while processing the request.|
|401863||Given X type (Y) is not supported for given user record type (Z).|
|401864||Given X type (Y) is invalid.|