Click or drag to resize

ConstraintViolation Constructor (ICalculatedRoleAssignment, String, String, ConstraintViolationStatus, Guid, IEnumerableInt32)

This constructor is used in implementations of IRoleEngineExtension.EvaluateConstraints().

Namespace:  Omada.OE.Solution.OIM.Model.Public
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public ConstraintViolation(
	ICalculatedRoleAssignment roleAssignment,
	string constraintKey,
	string constraintDescription,
	ConstraintViolationStatus status,
	Guid evaluationObjectUId,
	IEnumerable<int> businessProcessKeys = null
)

Parameters

roleAssignment
Type: Omada.OE.Solution.OIM.Model.PublicICalculatedRoleAssignment
constraintKey
Type: SystemString
constraintDescription
Type: SystemString
status
Type: Omada.OE.Solution.OIM.Model.PublicConstraintViolationStatus
Indicate the status of the violation.
  • If the violation can't be overrided then status should be set to "NA".
  • If an evaluation process has been launched (or is supposed to be launched) but is still running then status should be set to "NotDecided". To prevent violation evaluations for child roles in constraint due to their parent role, the status must be set to NA for undecided violations
  • If an evaluation process has been launched and it was decided in it to accept the violation the status should be set to "Accepted".
  • If an evaluation process has been launched and it was decided in it not to accept the violation the status should be set to "NotAccepted".
evaluationObjectUId
Type: SystemGuid
If an evaluation object exists it's UId must be specified here. To prevent violation evaluations for child roles in constraint due to their parent role, the evaluationObjectUId must be set to Guid.Empty evaluationObjectUId CAN be specified if status is NotDecided. evaluationObjectUId MUST NOT be specified if status is NA.
businessProcessKeys (Optional)
Type: System.Collections.GenericIEnumerableInt32
See Also