c# - Sharepoint 2007 Current User -
i'm trying use object model of sharepoint 2007 make changes on list , read users , groups web settings...
for developed web service (wcf) stored in same web application sharepoint site in iis.
thats working.
i call inside web service
spcontext.current.web.currentuser
and thats user not me, "sharepoint\system"
why?
other thing web try users using
spcontext.current.web.users
that contain "sharepoint\system", not others.
why!!!
i give full trust in web.config , use ntlm authentication method.
it sounds me issue account web service running under. change application pool web service using , set identity named account. then, when query current user in sharepoint, should see named account identified in application pool.
Comments
Post a Comment