2

I want to use the VBA GetSetting and SaveSetting functions in VBA for an Add-In that I am working on. My concern is that using these functions requires Read and Write RegistryPermissions: http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.interaction.getsetting(v=vs.110).aspx However, I did not find any definite answer if regular users have this permission e.g. in the scope of setting they create through my Add-In. Please confirm if users will need admin rights to use these functions in my Add-In.

Community
  • 1
  • 1
AnalystCave.com
  • 4,884
  • 2
  • 22
  • 30
  • Regular users should have rights to that part of the registry. – Rory Oct 13 '14 at 12:33
  • Thanks for commenting Rory. Do you have any link to ms resources or something that reassures this? – AnalystCave.com Oct 13 '14 at 12:35
  • 1
    I don't I'm afraid, but I have never had an issue with it. My understanding was that the whole point was that any installed code would have access to that portion of the registry. – Rory Oct 13 '14 at 13:09

1 Answers1

3

Regular i.e Standard user should not need admin right to use these functions.

It seems current user section of registry read/write access is required, which can be done by non-admin user.

Reference Link:

SO link : access right for non-admin user.

MS link : GetSetting Function

Community
  • 1
  • 1
ZAT
  • 1,347
  • 7
  • 10