Skip to content

Codeunit WSB_CDPPermissionViolation

Exposes procedures to identify and resolve confidentiality-violating permission assignments.

Properties

Name Value
Access Public

Methods

OnRun

Resolves the confidentiality-violating permission assignments in the environment.

wgFncGetConfidentialPermissionAssignmentViolations

Retrieves the confidentiality-violating permission assignments.

Parameters

Type Name Description
Record "WSB_CDPPermSetUsage" temporary vRecTempWSB_CDPViolation Temporary record set to store the violations in.

wgFncGetConfidentialPermissionAssignmentViolationsCount

Retrieves the number of confidentiality-violating permission assignments.

Returns

Type Description
Integer The number of violations found.

wgFncInitJobQueueEntry

Initializes a job queue entry that periodically resolves the confidentiality-violating permission assignments.

Parameters

Type Name Description
Record "Job Queue Entry" vRecJobQueueEntry The job queue entry.

Returns

Type Description
Boolean true iff the job queue entry was successfully set up.

wgFncResolveConfidentialPermissionAssignmentViolations

Resolves the confidentiality-violating permission assignments.

wgFncResolveConfidentialPermissionAssignmentViolations

Resolves the confidentiality-violating permission assignments.

Parameters

Type Name Description
Boolean pConfirm Whether to request confirmation from the user before making any changes.

wgFncViewConfidentialPermissionSetAssignmentViolations

Opens a page to view the confidentiality-violating permission assignments.