POST api/UserManager/Edit
Editing a user
Request Information
URI Parameters
None.
Body Parameters
User data
UserDataName | Description | Type | Additional information |
---|---|---|---|
Name |
User name |
string |
None. |
GrantConnection |
User has a granted connection |
boolean |
None. |
Id |
User ID |
string |
None. |
FullName |
Full user name |
string |
None. |
Password |
User password |
string |
None. |
Role |
Role name |
string |
None. |
RoleInt |
Role ID |
integer |
None. |
Enable |
User is enabled. |
boolean |
None. |
Error |
Error description |
string |
None. |
Success |
Flag of successful operation |
boolean |
None. |
ErrorCode |
Error code |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "name": "sample string 1", "grantConnection": true, "id": "sample string 3", "fullName": "sample string 4", "password": "sample string 5", "role": "sample string 6", "roleInt": 7, "enable": true, "error": "sample string 9", "success": true, "errorCode": 11 }
Response Information
Resource Description
Operation result
ResName | Description | Type | Additional information |
---|---|---|---|
Error |
Error description |
string |
None. |
Success |
Flag of successful operation |
boolean |
None. |
ErrorCode |
Error code |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "error": "sample string 1", "success": true, "errorCode": 3 }
Parameter Information
data
User data
Property | Description |
---|---|
Name (String) |
User name |
GrantConnection (Boolean) |
User has a granted connection |
Id (String) |
User ID |
FullName (String) |
Full user name |
Password (String) |
User password |
Role (String) |
Role name |
RoleInt (Int32) |
Role ID |
Enable (Boolean) |
User is enabled. |
Error (String) |
Error description |
Success (Boolean) |
Flag of successful operation |
ErrorCode (Int32) |
Error code |