infoRouter Document Management System - Web Services API Documentation Version 7.0
ChangeUserStatus
Changes the status of the specified user account.
Syntax
[Visual Basic]
Public Function ChangeUserStatus(ByVal AuthenticationTicket As String, _
ByVal UserName As String, _
ByVal StatusCode As Integer) As System.Xml.XmlDocument
Parameters

AuthenticationTicket

infoRouter Authentication Ticket

UserName

The UserName of the user

StatusCode

New user staus code - See the remarks section


Return Value
returns xml fragment.
<response success="true" error="">
if success attribute is "true", the User status has been changed successfully.
if success attribute is "false", the error attribute indicates the encountered error.
Remarks
The caller must be the system administrator or the domain manager of the user.

The Status might be the following values:
0: DISABLED USER
1: ENABLED USER
2: READONLY USER
Example

					
See Also
Update User Profile | Update User Preferences
Web Services API Syntax based on infoRouter Document Management System Version 7.0
Copyright() 1998-2008 Active Innovations, Inc.
infoRouter Enterprise Document Management System