I want to to use hide-when on my outline entries for users in a group in NAB database, and the dblookup seems to return only first entry instead of the list, your help is very appreciated, here is my code:
db := @Subset(@DbName; -1);
server := @Name([CN]; @Subset(@DbName; 1));
list:=@DbLookup(“”:“NoCache”; server :“Names.nsf”;“AACGroups”; “AAC_Internal_Reps”;“Members”);
hide := @If (@Contains( list ; @UserName ); @True; @False);
!hide