parameters: (proj_path, version, spec)
return_statement: return user_file
docstring: Generates a .user file for the user running this Gyp program.
  
    Arguments:
      proj_path: The path of the project file being created.  The .user file
                 shares the same path (with an appropriate suffix).
      version: The VisualStudioVersion object.
      spec: The target dictionary containing the properties of the target.
    Returns:
      The MSVSUserFile object created.
docstring_summary: Generates a .user file for the user running this Gyp program.
docstring_tokens: Generates a . user file for the user running this Gyp program .
function: def _CreateMSVSUserFile(proj_path, version, spec):
    """Generates a .user file for the user running this Gyp program.
  
    Arguments:
      proj_path: The path of the project file being created.  The .user file
                 shares the same path (with an appropriate suffix).
      version: The VisualStudioVersion object.
      spec: The target dictionary containing the properties of the target.
    Returns:
      The MSVSUserFile object created.
    """
    (domain, username) = _GetDomainAndUserName()
    vcuser_filename = '.'.join([proj_path, domain, username, 'user'])
    user_file = MSVSUserFile.Writer(vcuser_filename, version,
                                    spec['target_name'])
    return user_file
function_tokens: def _CreateMSVSUserFile ( proj_path , version , spec ) : ( domain , username ) = _GetDomainAndUserName ( ) vcuser_filename = '.' . join ( [ proj_path , domain , username , 'user' ] ) user_file = MSVSUserFile . Writer ( vcuser_filename , version , spec [ 'target_name' ] ) return user_file