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

Discussion in 'Microsoft 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. Advertisements

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. Bruce Whitehouse

    running ASP.NET under a domain user

    Bruce Whitehouse, Dec 30, 2003, in forum: Microsoft ASP .NET
    Replies:
    4
    Views:
    156
    Dave Davidson
    Dec 30, 2003
  2. Guest

    How to Add a domain user to a local user group

    Guest, Dec 30, 2005, in forum: Microsoft ASP .NET
    Replies:
    0
    Views:
    166
    Guest
    Dec 30, 2005
  3. Guest

    Domain user account running ASP.NET 1.1

    Guest, May 11, 2006, in forum: Microsoft ASP .NET
    Replies:
    1
    Views:
    615
    Patrick.O.Ige
    May 11, 2006
  4. andres

    get local and domain members from local group?

    andres, May 25, 2006, in forum: Microsoft ASP .NET
    Replies:
    0
    Views:
    451
    andres
    May 25, 2006
  5. Guest

    2.0 - aspnet_wp running under domain account

    Guest, Jun 19, 2006, in forum: Microsoft ASP .NET
    Replies:
    0
    Views:
    139
    Guest
    Jun 19, 2006
Loading...

Share This Page