The zimki.become method sets the current user for the remainder of the request.
zimki.become
For example:
var users = zimki.user.search( { username: 'james' } ); if ( users[0] ) { zimki.become( users[0] ); }