PeopleSoft Search Framework - Document Level Security - Search Security attributes
The evaluateAttrValues method returns an array of string &retvalues to Elastic Search Engine to filter the search results that an end user can see on UI when user initiates a search with a keyword.
import PTSF_SECURITY:*;
class UserPermission implements PTSF_SECURITY:SearchAuthnQueryFilter
method UserPermissionList();
method evaluateAttrValues(&sboName As string, &secAttr As string, &searchUser As string) Returns array of string;
end-class;
method UserPermissionList
end-method;
method evaluateAttrValues
/+ &sboName as String, +/
/+ &secAttr as String, +/
/+ &searchUser as String +/
/+ Returns Array of String +/
/+ Extends/implements PTSF_SECURITY:SearchAuthnQueryFilter.evaluateAttrValues +/
Local SQL &userPermissions_SQL;
Local array of string &retvalues;
&retvalues = CreateArrayRept("", 0);
Evaluate &secAttr
When "ICC_NOTE_SRCH_SEC"