# RoleAnalysisOptionType (Complex Type)

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

This complex type defines options for role analysis. It encapsulates elements related to the process mode and analysis category, providing flexibility in configuring the specific approach for analysis. The "processMode" element determines the methodology used during the analysis, considering either a role perspective or a user perspective. The "analysisCategory" element specifies the mode for categorizing the analysis, allowing for differentiation between standard and advanced approaches. The "id" attribute uniquely identifies each role analysis option.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
analysisProcedureType | property RoleAnalysisProcedureType | [0,1] | It determines the specific approach or methodology used during the analysis.
processMode | property RoleAnalysisProcessModeType | [0,1] | Process mode for role analysis.
analysisCategory | property RoleAnalysisCategoryType | [0,1] | Analysis category mode for role analysis.

- ### Items

  - #### analysisProcedureType

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

    It determines the specific approach or methodology used during the analysis. Role mining analysis (ROLE_MINING): Outlier detection analysis (OUTLIER_DETECTION):

  - #### processMode

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

    Process mode for role analysis. It determines the specific approach or methodology used during the analysis. We currently use an enum type to identify the mode (ROLE MODE, USER MODE) For Role Analysis (ROLE): Role perspective is taken into account. The role mining process focuses on identifying and analyzing roles based on their similarity and considering the perspective of roles (vectors of users who have this role are compared). Objects that meet the specified conditions, determined by the input parameters, are added to the data set to facilitate role mining For User Analysis (USER): User perspective is taken into account. The user mining process focuses on identifying and analyzing users based on their similarity and considering the perspective of users (the role vectors assigned to the given users are compared). Objects that meet the specified conditions, determined by the input parameters, are added to the data set to facilitate role mining.

  - #### analysisCategory

    Flags: RAM,runtime,AVals:8

    Multiplicity: [0,1]

    Analysis category mode for role analysis. It determines the specific approach or methodology used during the analysis. We currently use an enum type to identify the mode (STANDARD MODE, ADVANCED MODE) For Standard Mode (STANDARD): This mode represents a basic approach to role analysis, focusing on fundamental criteria and techniques for identifying and analyzing roles within the system. For Advanced Mode (ADVANCED): This mode represents a more sophisticated approach, often involving complex matching rules and additional criteria for role identification and analysis.