I have a list view that should only show when an admin adds the person's username to an "allowed viewers" username column. So, I am thinking to create a calculated column that compares the current-viewing user to the username in the "allowed viewers" column. Then, I will filter the list by the result. If it compares to true, the list item will show. If it compares to false, it will not show.
So my question is, what do I put in the Calculated Column field to compare my "allowed viewers" column (which contains a username) to the current user?
[waaaay later]
Well, I've never come to a satisfactory solution to filtering a list by the current username, and got into more trouble here. I'm adjusting the title of my question to better reflect my intention.
How can I use a username column and filter the view by the matching current user?