Skip to content
⌘ NSIS Forum Archive

is the user is in the groups administrators and power users

7 posts

roni20888#

is the user is in the groups administrators and power users

hello

I need to check if the user thet installes my program is administrator and power user.

I have already macro thet tells me if the user is administratr, and i want to know if his is apower user as well.

i want to do so in the minimom tables.

thnks.
roni20888#
i didnt understod how to use it...
i just need avalue thet will say if the user is power user ,
and then i will check if he is an admin as well.

how to use multiuser for my problem?
Red Wine#
Among other useful things, multiuser.nsh returns the values you're seeking, it's advised to read the docs as pospec suggested and learn how to use the multiuser.nsh.
roni20888#
i trying to use GetUserGroups macro, and i getting the "Could not place all the user's groups into an array!"
error.

and i can't understend why, i using 10 on 10 array, and i got only 2 groups name from the macro.