# VirtualAssignmentSpecificationType (Complex Type)

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

There are cases when you need to force midpoint thinks that user has assigned some role. The assignment actually doesn't exist but there is a need to pretend as it does. This can be used e.g. for post-authentication flow. The user has assigned all business, application, etc. roles but we don't want to consider these roles during his post-authentication process. Instead, we want to pretend he has "temporary" role assigned which allows him to perform post-authentication.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
targetType | property QName | [0,1] | The target type of the assignment, e.
filter | property SearchFilterType | [0,1] | No filter, no virtual assignments.

- ### Items

  - #### targetType

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    The target type of the assignment, e.g RoleType, ServiceType, OrgType, ...

  - #### filter

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    No filter, no virtual assignments.