Navigation:  Integration via SOAP web services > Published web services > Administration >

editUser

Previous  Top  Next

This method enables to edit the data of a user. To edit it, it is necessary to follow the standard documented below.

 

Java class

Request

web\wwwroot\ws\java\admin\EditUserRequestType.java

Return

web\wwwroot\ws\java\admin\EditUserResponseType.java

 

Request

ID #

Required

Description

ID

X

User's reg. code #.

NAME

X

User name.

LOGIN

X

Name used by the user to log into the system

PASS

X

User password.

EMAIL

X

User e-mail address.

CDLEADER

 

Leader ID #.

LANGUAGE

 

Enter the user language code, in accordance with the "Database Encoding" column of the Localization section, in the System Requirements document.

 

Return

ID #

Description

return

SUCCESS: Primary key of the position (CDUSER)

FAILURE: -1

Status

SUCCESS: SUCCESS

FAILURE: FAILURE

Code

SUCCESS: 1

FAILURE: code regarding the error that occurred.

RecordID

SUCCESS: User ID #.

FAILURE: N/A

RecordKey

SUCCESS: User primary key.

FAILURE: N/A

 

Code

Description

3

{field¹}: The maximum size for this field is 50.

4

Error identifying the user. There is more than one record with the same login.

5

It is not allowed to use quotation marks in the login field.

6

Null user login.

7

Null user ID #.

8

Null user name.

9

Null password.

10

Null or inexistent language

11

The leader input does not exist.

12

Impossible to find user.

15

Inexistent department.

16

Inexistent position.

18

The user ID cannot be equal to the leader ID #.

19

Invalid relationship between position and department.

59

Language not supported by the database.

60

Inexistent language.

89

Null user e-mail.

 

1 - IDUSER, IDLOGIN