This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Check windows user
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 22, 2009
10:08 AM
Check windows user
I'm working on a InstallScript MSI project.
I going to make a dialog that asks for a windows user name and password.
How do I check if the user exists and that he is a member of the IIS_WPG group?
How do I check if he has read, write and delete permissions on a directory?
I going to make a dialog that asks for a windows user name and password.
How do I check if the user exists and that he is a member of the IIS_WPG group?
How do I check if he has read, write and delete permissions on a directory?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 29, 2009
09:51 AM
i think you have to take the help form programing language. useing the code you can validate the USID.
like c++,VC++,C#
like c++,VC++,C#
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 27, 2009
06:28 AM
We made a program in c# that takes the username and password as parameters and call it from InstallShield.
The program checks if the user is a valid windows user and saves the answer in a text file that we then read from InstallShield.
We then developed the program further so that we can check if the user is member of certain groups and if he has access to certain folders on the machine.
The program checks if the user is a valid windows user and saves the answer in a text file that we then read from InstallShield.
We then developed the program further so that we can check if the user is member of certain groups and if he has access to certain folders on the machine.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)