Detect manager users with PHx
In order to detect manager users we'll use the role field(see modx_user_attributes table). Because Web Users have the role 0 and visitors don't have a role, we can easily detect which user is viewing a page.
We'll also take advantage of PHx's userinfo special modifier. More details here.
[+phx:userinfo=`role`:gt=`0`:then=` <h2>Manager Users</h2> `:else=` <h2>All Other Users</h2> `+]
You can use this solution to test a new section of your website, not ready for regular users. Share your own method in the comments section.