# RoleAnalysisDetectionOptionType (Complex Type)

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

Options for Detecting Business Roles These parameters serve as key specifications for performing searches and analyzes aimed at discovering different business roles. Furthermore, the role analysis session allows for the possibility of updating these values. If there is a need to modify or refine the cluster options during the analysis process, the values associated with the keys can be updated accordingly. This flexibility enables fine-tuning of the role analysis based on changing requirements or new insights gained during the analysis phase.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
minRolesOccupancy | property int | [0,1] | Define the minimum required count of roles occupancy for detected patterns.
minUserOccupancy | property int | [0,1] | Define the minimum required count of users occupancy for detected patterns.
frequencyRange | property RangeType | [0,1] | Minimum and maximum required frequency.
detectionProcessMode | property RoleAnalysisDetectionProcessType | [0,1] | Option for executing detection pattern.

- ### Items

  - #### minRolesOccupancy

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Define the minimum required count of roles occupancy for detected patterns.

  - #### minUserOccupancy

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Define the minimum required count of users occupancy for detected patterns.

  - #### frequencyRange

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Minimum and maximum required frequency. If the condition is not met, the objects are not included in the detection (search). In the case of USER MODE - frequency of application of roles (properties) due to processed members(users) In the case of ROLE MODE - frequency of disposition of users (properties) due to processed members(roles) Frequency expresses the percentage value of occupancy. It refers to the number of occurrences of properties over cluster members.

  - #### detectionProcessMode

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

    Display order:

    Option for executing detection pattern.