Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds


  Asked By: Landon    Date: Sep 12    Category: Sharepoint    Views: 633

I have a problem and hope a solution for the same.

Kindly let me know if you have any solution for this problem, I have
been just trying to go about this for a long time, no luck so far…

If my user is not an administrator when I use the SPGlobalAdmin
object and call globObj.VirtualServers[0] then it will always ask
for a password implying that this is not allowed without certain
privledges. The only way around
this is to make the user an administrator on the computer that the
portal resides on. Is there any way to either get around this by
impersonation or get a handle to a SPSiteCollection object or a
virtual server without this



2 Answers Found

Answer #1    Answered By: Johathan Mcgowan     Answered On: Sep 12

I had similar issue with other classes

Check this out

This should give you some sample on how to impersonate the user

All Admin Sharepoint classes require being instantiate with a Sharepoint

Answer #2    Answered By: Georgia Barr     Answered On: Sep 12

Try making the user  a member of the local SPS_WPG (& STS_WPG) groups on
your portal server...

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

Related Topics:



Related Post