What is the grammatical role of mutabassiman and mutaranniman?

The Marāghah Maqāmah: Literary Triumph, Nostalgia and Refusal of Office