WordPress Multisite unfiltered_html Capability

Roles other than Super Admin cannot be assigned the unfiltered_html capability in WordPress Multisite. You can set it for a role. But WordPress disables the capability after the fact.

This creates a unique WordPress challenge. Your site admins will not have the ability to add a hard coded iframe or embed markup to posts.

Solution

WordPress does not offer an easy function to find a users role. I have provided a function to achieve that as part of the solution.