How do I determine which logged on user accepted a self service offer?

My use case is a self service offer that runs as the current user.

I need to download a file using bigfix, copy it to the current user’s temp folder, then run it as that user.

If there are multiple users logged into the system, how do I know which user accepted the offer, so I can copy the file to that user’s temp folder?


If there are multiple users logged in and I use:

override wait
runas=currentuser
wait Setup.exe

Does the client know that it should run it in the context of the user that accepted the offer, and not any other users that might also be logged in?


Example:

Related:

unique values of (preceding text of last "%00" of it | it) of (it as string as trimmed string) of values "ProfileImagePath" of keys whose(name of it = unique value of names of user keys of (current users; logged on users)) of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" of (x64 registries; x32 registries)


CC: @AlanM

1 Like

Hello!

Any thoughts on this problem? I’m curious to know if anyone else has had this issue as I am also not finding a way to determine which logged on user accepted the offer.

Bill

1 Like