def authenticateToBusiness(authToken, userStore): "Authenticate with Evernote Business, return AuthenticationResult instance" try: bAuthResult = userStore.authenticateToBusiness(authToken) except Errors.EDAMUserException, e: print e return None except Errors.EDAMSystemException, e: print e return None return bAuthResult