# AutoassignSpecificationType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Specification of role auto-assignment properties. Those properties are evaluated to detect whether a role should be automatically assigned to focus.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
enabled | property boolean | [0,1] | Flag indicating whether autoassign functionality is enabled for this (abstract) role.
focus | container FocalAutoassignSpecificationType | [0,1] | This is "focal" specification.

- ### Items

  - #### enabled

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order: 100

    Flag indicating whether autoassign functionality is enabled for this (abstract) role.

    Use with care. MidPoint will have to process all the roles that have this flag set to true. All the roles will be looked up, autoassign specification will be processed to see if the focus is matching. This will happen all the time for all modification operations. Therefore it is disabled by default. Also, autoassign functionality needs to be globally enabled in system configuration.

  - #### focus

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order: 110

    This is "focal" specification. It is applied on the focus (similarly to object template).