How to get a list of application scopes

Is there a way to get a list of active application scopes for a given web context?

Something like a cfadmin action?

Dump( getPageContext().getConfig().getFactory().getScopeContext().getAllApplicationScopes() );
2 Likes