Share via


SecuritySegregationOfDuties::validateUsers Method [AX 2012]

Validates that users comply with all SOD rules.

Syntax

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

Run On

Server

Parameters

  • _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.

Remarks

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.

See Also

Reference

SecuritySegregationOfDuties Class