How can we use UserSession in a workflow PostFunction plugin?

Hie all,
I want to know how can we use UserSession and UserSessionTracker in a workflow PostFunction plugin?