
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