code: def login_remove(login, **kwargs):
      '''
      Removes an login.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt minion mssql.login_remove LOGINNAME
      '''
      try:
          conn = _get_connection(**kwargs)
          conn.autocommit(True)
          cur = conn.cursor()
          cur.execute("DROP LOGIN [{0}]".format(login))
          conn.autocommit(False)
          conn.close()
          return True
      except Exception as e:
          return 'Could not remove the login: {0}'.format(ef login_remove(login, **kwargs):
      '''
      Removes an login.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt minion mssql.login_remove LOGINNAME
      '''
      try:
          conn = _get_connection(**kwargs)
          conn.autocommit(True)
          cur = conn.cursor()
          cur.execute("DROP LOGIN [{0}]".format(login))
          conn.autocommit(False)
          conn.close()
          return True
      except Exception as e:
          return 'Could not remove the login: {0}'.format(e)
docs: Removes an login.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt minion mssql.login_remove LOGINNAME