def get_last_user(self, refresh=False):
if refresh:<EOL><INDENT>self.refresh_complex_value('<STR_LIT>')<EOL><DEDENT>val = self.get_complex_value("<STR_LIT>")<EOL>try:<EOL><INDENT>raw_userid, raw_username = val.split('<STR_LIT:U+0020>')<EOL>userid = raw_userid.split('<STR_LIT:=>')[<NUM_LIT:1>].split('<STR_LIT:">')[<NUM_LIT:1>]<EOL>username = raw_username.split('<STR_LIT:=>')[<NUM_LIT:1>].split('<STR_LIT:">')[<NUM_LIT:1>]<EOL><DEDENT>except Exception as ex:<EOL><INDENT>logger.error('<STR_LIT>'.format(val, ex))<EOL>return None<EOL><DEDENT>return ( userid, username )<EOL>
Get the last used PIN user id