SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to use the object model of Sharepoint 2007 to make some changes over a list and read users and groups web settings...

For that I developed a Web Service (WCF) that is stored in the same web application as the sharepoint site in IIS.

Thats working.

I call inside the Web service


and thats user is not me, is "Sharepoint\System"


Other thing is that web I try to get all users using


that only contain "Sharepoint\System", not the others.


I give the full trust in the web.config and use the Ntlm authentication method.

share|improve this question
up vote 0 down vote accepted

The Solutions is:

(the name of the user of the application pool is the same as the loggin user)

share|improve this answer

Your web service is running as the SharePoint system account, taht's why you get that account as the current user.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.