SecuritySegregationOfDuties::validateUsers Method [AX 2012]

Validates that users comply with all SOD rules.

server public static boolean validateUsers(
   [RefRecId _ruleId, 
    SecurityUserRole _userRole, 
    boolean _createConflicts])

Run On

Server

Parameters

_ruleId
Type: RefRecId Extended Data Type
The ID of the SOD rule to validate; optional.
_userRole
Type: SecurityUserRole Table
The entry that is created in the SecurityUserRole table, if applicable. This implies that conflict should be created and provides the required external data for the conflicts (user ID, role, and so on).
_createConflicts
Type: boolean
A value that determines whether conflicts should be created and provides the required external data.

Return Value

Type: boolean
true if the user conforms; otherwise, false.

The function writes an error to the Infolog for every violation that is encountered. This method is started by AOS validation routines and must be executed after the modification has been entered in the database.

Show: