views:

88

answers:

1

Hi,

I a console application that creates a sub sites under a site collection The site collection accepts only forms based user.

Now, when i run the console application, its with windows credentials.

I need some way to run the code in console app that creates sub site to run under forms user who is admin to that site collection.

Please let me know your suggestions.

Thanks

A: 

You should create a new Web service within the Central Administration Web application ([12 hive]\AMDISAPI) and add a function that creates subsites - download the code from here and look for the hstCreateSubSite function.

Marek Grzenkowicz