Skip to content
⌘ NSIS Forum Archive

Query AD Group Membership

4 posts

Dr.What#

Query AD Group Membership

Hi, i searched around for a while but could not find an answer, so:

Is it possible with NSIS to:
- list all the AD groups, the computer (on which the installer is running on) is a member of?
- If not: can i query a certain AD group, to find out if the computer is a member of it?

Thanks a lot,
DRW
Anders#
Why does the installer need to know? Keep in mind that UAC elevation can cause the installer to run as another user if the original user is not an administrator...

You could use nsExec to call some other tool or powershell as a last resort.