Global variables are specific to each user, but you can also use Get ( accountName ) any time you need the current user's account name.
It sounds like you have these relationships:
If so, you can define a portal filter expression on the Portal To workOrders that looks like this:
Teammembers::AccountName = Get ( AccountName )
That worked perfect. I think I was trying to overcomplicate it.
Note that this is a "convenience fix" not a security fix. Users may still be able to access WorkOrders associated with different TeamMembers on a different layout in your file. You can make this a security level change in Manage | Security with a "lock expression" that compares account names.
I have my security fixes in place. I dont mind them seeing the actual work orders. Im just using this as a "task list" for open work orders that they have to do for the day. It will be open work orders that are not set as complete. This is just a shortcut for them as a convenience.
Thanks for looking out though.