Era.Common.NetworkMessage.ConsoleApi.Users.RpcModifyUserRequest

Description

Modify user data.

Properties

Name JsonSchemaType Description
allowNameDuplicates boolean (Not currently supported) If this is set to true, then the validator will allow to give the same name to a user as some other user under the same user group.
staticObjectData reference to Era.Common.DataDefinition.StaticObject.StaticObjectData The new static object data (name, description). If this data differs from the current values, then this user will be renamed and/or his description will be modified.
staticObjectIdentification reference to Era.Common.DataDefinition.StaticObject.StaticObjectIdentification The version guard and uuid of the user who's data are to be changed.
userData reference to Era.Common.DataDefinition.Users.UserData Other attributes to be changed

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Users.RpcModifyUserResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Users.RpcModifyUserRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Users.RpcModifyUserRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Users.RpcModifyUserRequest": {
            "$ref": "#/definitions/RpcModifyUserRequest"
        }
    },
    "definitions": {
        "RpcModifyUserRequest": {
            "additionalProperties": false,
            "required": [
                "staticObjectData",
                "staticObjectIdentification",
                "userData"
            ],
            "type": "object",
            "properties": {
                "allowNameDuplicates": {
                    "type": "boolean"
                },
                "staticObjectData": {
                    "$ref": "Era.Common.DataDefinition.StaticObject.StaticObjectData#/definitions/StaticObjectData"
                },
                "staticObjectIdentification": {
                    "$ref": "Era.Common.DataDefinition.StaticObject.StaticObjectIdentification#/definitions/StaticObjectIdentification"
                },
                "userData": {
                    "$ref": "Era.Common.DataDefinition.Users.UserData#/definitions/UserData"
                }
            }
        }
    }
}