This server-side class provides a method that help to interact with the User Criteria.
Use this constructor to create an instance of the SimpleUserCriteria class.
const uc = new SimpleUserCriteria();
Use this method checks if the user fits the criteria specified.
Parameter(s):
excludeDelegation
The criteria parameter may be specified as an array of strings, as shown in the second code example.
Return:
Example 1:
const uc = new SimpleUserCriteria(); ss.info(uc.userAcceptanceByCriteria(ss.getUserID(), '158617888715304763')); // Info: true
Example 2:
const uc = new SimpleUserCriteria(); ss.info(uc.userAcceptanceByCriteria(ss.getUserID(), ['158617888715304763', '158617888715304765'])); // Info: false