Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Setting the Owner of an SPSite Collection

  Asked By: Veer Chitale         Date: Mar 08, 2009      Category: Sharepoint      Views: 341
 

I have added a new user (SPUser) to the matching SPWeb object and have
also added this SPUser to the SiteGroups collection within a webpart.
I have tried to set this new SPUser as the owner of the SPSite object,
however, I received and error when I tried this. The error is "the
user must be a member of the site group". I have tried the about with
impersonation as well with the same results. Is there something else
I must do to this SPUser before he/she can become the "Owner" of the
SPSite?


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:              

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Setting the Owner of an SPSite Collection Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].