Re: Programmatic Subsite Creation
- From: "kkrellwi" <kkrellwi@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 10 May 2005 06:20:03 -0700
I working with a webpart and have I tried impersonation of the admin, full
trust.
I ended doing a work around by creating a site template for the top level
site with a webpart the generates all the subsites. Not quite how I wanted
to do this, but it's a one time deal and it works.
Thanks for your help
"anders.rask@xxxxxxxxx" wrote:
> Hi,
>
> are you working with web parts or a web application?
>
> you need admin rights to create a subsite, and you (probably) need to
> untighten your portal security trust level in web.config too.
>
> start by adding Full to trust in web.config and log in as an
> administrator when running the application.
>
> if that doesnt help, you need to impersonate the admin user
> programmaticly
>
> hope this helps
> Anders
>
>
.
- References:
- Programmatic Subsite Creation
- From: kkrellwi
- Re: Programmatic Subsite Creation
- From: anders . rask
- Programmatic Subsite Creation
- Prev by Date: Re: Read-only access to SPGlobalConfig without administrator rights
- Next by Date: Re: Programmatic Subsite Creation
- Previous by thread: Re: Programmatic Subsite Creation
- Next by thread: Filters in sharepoint View
- Index(es):
Relevant Pages
|