whenWithUser

inline fun <T> Any.whenWithUser(block: (WithUser) -> T): T?