locked
How to create local windows group and user in asp or asp.net? RRS feed

  • Question

  • User1575052780 posted

    dear all:

    I want to create a new group and user or computer into local Windows or Active Directory in  asp /asp.net.

    anyone who have the demo , plz send it to my mail: floatping@gmail.com

    thanks very much in advance

    Monday, June 12, 2006 9:30 PM

All replies

  • User-319574463 posted
    Besides the actual code to do this, have you considered the security implications? You would have to use a domain administrator account for the ASP.NET worked process.

    A more secure option would be to write the requests a SQL Server table that acts as a queue. The table would be read by a windows service. The only the service account would need elevated rights.

    HTH
    Tuesday, June 13, 2006 10:53 AM
  • User-319574463 posted
    Make a start create the new AD objects with the

    "How Do I...Modify Active Directory?"

    tutorial at http://www.dotnetjunkies.com/QuickStartv20/howto/doc/adwrite.aspx
    Tuesday, June 13, 2006 10:57 AM