Era.Common.NetworkMessage.ConsoleApi.Security.RpcGrantCompetencesToUserRequest

Description

Request for granting competences to user.

Properties

Name JsonSchemaType Description
competenceUuid array of references to Era.Common.DataDefinition.Common.Uuid List of competences.
isDomainGroup boolean True if identification belongs to domain group instead of user.
userOrGroupUuid reference to Era.Common.DataDefinition.Common.Uuid Group or user identification.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Security.RpcGrantCompetencesToUserResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Security.RpcGrantCompetencesToUserRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Security.RpcGrantCompetencesToUserRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Security.RpcGrantCompetencesToUserRequest": {
            "$ref": "#/definitions/RpcGrantCompetencesToUserRequest"
        }
    },
    "definitions": {
        "RpcGrantCompetencesToUserRequest": {
            "additionalProperties": false,
            "required": [
                "isDomainGroup",
                "userOrGroupUuid"
            ],
            "type": "object",
            "properties": {
                "competenceUuid": {
                    "minItems": 1,
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                        }
                    ]
                },
                "isDomainGroup": {
                    "type": "boolean"
                },
                "userOrGroupUuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                }
            }
        }
    }
}