How to: Programatically set user rights policies in VB 
Author Message
 How to: Programatically set user rights policies in VB

Hi all,

I need to programatically add local NT users to user rights policies. This
is manually done from the User Manager. I've found NetAPI functions for
adding users and adding these users to user groups but can't find anything
on user rights. Most of all I would like an example in VB but any help is
appreciated.

/Peter



Sun, 07 Jul 2002 03:00:00 GMT  
 How to: Programatically set user rights policies in VB
Get a book by WROX press called ADSI (Active Directory Services Interface)
there are VB (and ASP) examples there of manipulating the NT SAM by simply
using GetObject("WinNT://")

I believe that will address your concerns.
David


Quote:
> Hi all,

> I need to programatically add local NT users to user rights policies. This
> is manually done from the User Manager. I've found NetAPI functions for
> adding users and adding these users to user groups but can't find anything
> on user rights. Most of all I would like an example in VB but any help is
> appreciated.

> /Peter



Mon, 08 Jul 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. User Manager policies/rights via script

2. Script to Assign User Rights Policies

3. Change User Rights Assignment Programatically

4. Setting User-rights for NTFS?

5. Remotely set user rights via script?

6. WSH ADSI -- Set user rights on NT workstations

7. How do I programatically modify a User's NT Group membership in VB

8. How to and where to set security policy

9. Check Framework Security Policy Setting Via Code

10. Setting Audit policy

11. Set msNPAllowDialIn to "Control by Policy"

12. Setting Lcoal Account Policies on NT 4 Workstations

 

 
Powered by phpBB® Forum Software