I am trying to filter a dataview webpart using a parameter ($Users) which is a string of usernames delimited by a semicolon (domain\user1;domain\user2;domain\user3;domain\user4).
This string is being passed in as a query string in the URL. I want to check if this string contains the username in a column (@UserID). I've tried using the query:
[contains($Users, @UserID)]
This returns no results, even with just a single username and even when the parameter is not passed through as a query string and is instead just a default value.
Is the possible the way I am currently trying to do it? Should I split the string up and check each substring?
Thanks in advance.