You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 7 Current »
This server-side class allows interaction with the User Criteria.
It creates an instance of the SimpleUserCriteria class.
const uc = new SimpleUserCriteria();
This method checks if the user fits the criteria specified.
Parameter(s):
The criteria parameter may be specified as an array of strings, as shown in the second code example.
Return:
Example:
const uc = new SimpleUserCriteria(); uc.userAcceptanceByCriteria(ss.getUserID(), '158617888715304763');
const uc = new SimpleUserCriteria(); uc.userAcceptanceByCriteria(ss.getUserID(), ['158617888715304763', '158617888715304765']);