code: def get_user(username, **kwargs):
      '''
      Get username line from switch.
  
      .. code-block: bash
  
          salt '*' nxos.cmd get_user username=admin
      '''
      command = 'show run | include "^username {0} password 5 "'.format(username)
      info = ''
      info = show(command, **kwargs)
      if isinstance(info, list):
          info = info[0]
      return inff get_user(username, **kwargs):
      '''
      Get username line from switch.
  
      .. code-block: bash
  
          salt '*' nxos.cmd get_user username=admin
      '''
      command = 'show run | include "^username {0} password 5 "'.format(username)
      info = ''
      info = show(command, **kwargs)
      if isinstance(info, list):
          info = info[0]
      return info
docs: Get username line from switch.
  
      .. code-block: bash
  
          salt '*' nxos.cmd get_user username=admin