infoRouter Document Management System - Web Services API Documentation
UpdateUserPreferences
Updates the preferences of the specified user.
Syntax
[Visual Basic]
Public Function UpdateUserPreferences(ByVal AuthenticationTicket As String, _
ByVal UserName As String, _
ByVal xmlPreferences As string) As System.Xml.XmlDocument
Parameters

AuthenticationTicket

infoRouter Authentication Ticket

UserName

The Username of the to be updated.

xmlPreferences

Xml fragment that sets new preferences. See the remarks section for the details.


Return Value
returns xml fragment.
<response success="true" error="">
if success attribute is "true", the user preferences has been updated successfully.
if success attribute is "false", the error attribute indicates the encountered error.
Remarks
The caller must be the system administrator or a domain manager of the domain in which the user is a local member or the user.

The xmlpreference string must be structured below.

<Preferences>
<Language>en</Language>
<DefaultPortal />
<ShowArchives>False</ShowArchives>
<ShowHiddens>False</ShowHiddens>
<EmailType>HTML</EmailType>
<AttachDocumentToEmail>False</AttachDocumentToEmail>
<NotificationType>INSTANT</NotificationType>
</Preferences>

EmailType value might be HTML or TEXT
NotificationType value might be "NONE","INSTANT" or "DAILY REPORT"
Example

					
See Also
Update User Profile | Change User Status



Syntax based on infoRouter Document Management System Web Services API Version 7.0
Copyright() 1998-2003 Active Innovations, Inc.
infoRouter Document Management System