I want to run certain custom action if the logged in user is a power user. But how to detect if the logged in user is a power user or part of administrators group?

Thanks in advance
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
hi desertrose..

only power users and administrators can do some changes in the machines like executing vb scripts so no need to worry with users on limited access. Limited users cannot install applications or execute vb scripts.
Answered 07/20/2009 by: dj_xest
Fifth Degree Black Belt

Please log in to comment
0
I am using a custom action to set some security policy using caspol.exe. so if the logged in user is a power user, the custom action fails. therefore i need to detect the logged in user.

Thanks
Answered 07/20/2009 by: desert_rose
Orange Belt

Please log in to comment
0
There are innumerable scripts around which you can use to get a user's group memberships. It'll be relatively straight-forward in this case because you won't need to get domain memberships.
Answered 07/20/2009 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity