Skip to content
⌘ NSIS Forum Archive

Determining If a user is a Limited Access User?

4 posts

99999999#

Determining If a user is a Limited Access User?

Is there any means of determine whether or not a user is a Limited Access User, already built into NSIS? If not, does someone else already do this?

The installer will not complete successfully in this mode, and we would like to give the user a more graceful response.
99999999#
Hmm so it appears I have to be an Admin to run this check on Vista, and the application runs in the context of the Admin user. So of course, the response is that the user always has Admin access.

What I am looking for is something not requiring the user to need extra privileges to determine if they are not an Admin.
Anders#
just use the userinfo plugin then.

If you need admin rights, but still need to do things in the context of the "logged in" user, you might need to use the UAC plugin