The ARGetListEntryWithMultiSchemaFields function can perform IN and NOT IN operations on a fixed value set and on a value set returned by a subquery (the WHERE clause of an SQL query).
The following C and Java examples show a value set query:
In the following examples, the login user name is InSubqueryUser. The query operates on theInSubqueryPermissions1 form and performs the IN subquery on the InSubqueryPermissions3 form. The example assumes that both forms are populated with the appropriate data.