MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Impersonation in MOSS

  Asked By: Ralph    Date: Oct 12    Category: MOSS    Views: 756

Is anyone successfully implemented Impersonation in MOSS?
Impersonation in SPS 2003 was sort of easy, we can easily get
impersonate as SharePoint App Pool (as Todd suggested
mindsharpblogs.com/.../467.aspx) but with
MOSS that is not the case, now we can have our App Pool running as
"Network Service".

I tried Impersonation in MOSS Doc Library event handler, using
WindowsImpersonationContext as mentioned in
support.microsoft.com/default.aspx but
unfortunately MOSS is not taking the new administrators credentials it
is still using the web users credentials.



2 Answers Found

Answer #1    Answered By: Timothy Hall     Answered On: Oct 12

Did you include the additional line?


One of the developers here claims that this method is working for him
on SP2007.

Answer #2    Answered By: Ian Powell     Answered On: Oct 12

In WSS v3 you will want to use RunWithElevatedPrivileges rather than my
old impersonation  methods.

Check out these posts:

Didn't find what you were looking for? Find more on Impersonation in MOSS Or get search suggestion and latest updates.