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:
- Install Slack Per-User Offer - Windows https://bigfix.me/fixlet/details/21120
Related:
- Current User profile path - Windows https://bigfix.me/relevance/details/3017254
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