Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to Add a domain user to a local user group

Thread Tools

How to Add a domain user to a local user group

Posts: n/a

I have a webform, with 2 textboxs and a submit button. In the text box1, i
enter a username and in textbox2 I enter the computer name. Both the username
and computer name is in active directory.

When i click submit, I want to add the username from textbox1 into the local
group ("mygroup") on the computer name from textbox2.

I want to use w as the programming language.

can someone please give me some code examples on how i should do this?

Thank yo so much!

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
get local and domain members from local group? andres ASP .Net 1 10-23-2007 08:46 AM
Add domain user to local group via web application running under local admin account Chad Dressler ASP .Net 0 12-30-2006 01:27 AM