Using a different user with privileges to run a subroutine?

  • Thread starter Thread starter guyinkalamazoo3
  • Start date Start date
G

guyinkalamazoo3

Guest
I have a subroutine that adds a user to one of our AD Groups and it seems to work up unto the point where I do a .CommitChanges() and then it errors out is "Not Authorized". Is there a way programmatically to specify a "super user" for this task? Kind of like when I do open our AD Users and Computers app and I want to make a change, I need to do a run as...and use my admin credentials.

Thanks


Brad Allison

Continue reading...
 
Back
Top