def get_user_authentication(username, password)
      @allscripts_username = username
      params = MagicParams.format(user_id: username, parameter1: password)
      response = magic("GetUserAuthentication", magic_params: params)
      response["getuserauthenticationinfo"][0]
    end
def get_user_authentication(username, password)
      @allscripts_username = username
      params = MagicParams.format(user_id: username, parameter1: password)
      response = magic("GetUserAuthentication", magic_params: params)
      response["getuserauthenticationinfo"][0]
    end
Assign a security token from `get_token` to a specific Allscripts user.
 This creates a link on the Allscripts server that allows that token
 to be used in subsequent `magic` calls passed that user's username.

 @param username [String] the Allscripts user's username (from Allscripts)
 @param password [String] the Allscripts user's password (from Allscripts)
 @return [Hash] user permissions, etc.