Add user name property to existing analysis

(imported topic written by SystemAdmin)

I am using an analysis with the relevance below, but I would also like to tie in the user name in the results field. Trying to figure it out, but wanted to post on the ‘throbbing brain’ that is the TEM forum.

Thanks for any and all assistance.

unique values of ((if (exists value “DisplayVersion” of it AND exists value “DisplayName” of it) then (value “DisplayName” of it as string & " - " & value “DisplayVersion” of it as string) else (if (exists value “DisplayName” of it AND not exists value “DisplayVersion” of it) then (value “DisplayName” of it as string & " - <N/A>") else nothings)) of keys whose (value “DisplayName” of it as string as lowercase contains “microsoft visual studio” AND value “DisplayName” of it as string as lowercase does not contain “hotfix”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry)

(imported comment written by SystemAdmin)

I already came up with an idea that should work, but will still appreciate feedback.