Add domain user to local group via web application running under local admin account

Discussion in 'ASP .Net' started by Chad Dressler, Dec 30, 2006.

  1. I'm trying to use System.DirectoryServices to add a domain user to a
    local group via a web application which runs under the identity of a
    local admin account. Is this possible?

    I can successfully add domain users if I run the application under the
    identity of a domain account with administrative privileges on the
    local machine (or use windows auth with impersonation), but if I try to
    run it under a local account rather than a domain account I get a
    permissions error.

    Thanks,
    Chad Dressler
    DIGOP
    Chad Dressler, Dec 30, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Um9ja3k=?=

    How to Add a domain user to a local user group

    =?Utf-8?B?Um9ja3k=?=, Dec 30, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    591
    =?Utf-8?B?Um9ja3k=?=
    Dec 30, 2005
  2. =?Utf-8?B?SmFzb24gQ2FtcA==?=

    Domain user account running ASP.NET 1.1

    =?Utf-8?B?SmFzb24gQ2FtcA==?=, May 11, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    2,439
    Patrick.O.Ige
    May 11, 2006
  3. andres
    Replies:
    1
    Views:
    5,227
    dgoyani
    Oct 23, 2007
  4. =?Utf-8?B?bWdvbnphbGVzMw==?=

    2.0 - aspnet_wp running under domain account

    =?Utf-8?B?bWdvbnphbGVzMw==?=, Jun 19, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    352
    =?Utf-8?B?bWdvbnphbGVzMw==?=
    Jun 19, 2006
  5. carl

    running dos command under admin account

    carl, Aug 21, 2003, in forum: ASP .Net Security
    Replies:
    1
    Views:
    157
    Lewis Wang [MSFT]
    Aug 22, 2003
Loading...

Share This Page