0
votes
2answers
261 views

operation is not valid due to the current state of the object. (for extranet)

I am using following code to impersonate a user on an extranet which uses Form Based Authentication, however when it comes to this line (SPSite s = new SPSite(siteStr, userToken);) it throws ...
0
votes
1answer
609 views

Get single user from multiple domain problem

This is my situation. I have a farm in which an instance of Sharepoint Foundation is installed.. Windows Server is configure to accept users from 3 trusted domain (xxx, yyy and zzz) Suppose i have ...