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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -