The following code example illustrates the use of the same ListView with
record-level security enabled:
public void run
{
CustTable custTable;
;
super();
// Ensure that RLS is used.
custTable.recordLevelSecurity(true);
while select custTable
{
listView.add(custTable.name);
}
}