Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to generate a mysite space upon account creation. As of today, once the account has been created, user is redirected to /_layouts/mysite.aspx generating the mysite.

I need to call this creation remotely and Web Services seemed the solution, but i can't find any useful method.

Another solution would be to call the /_layouts/mysite.aspx in an ajax call and check for the result when creation's done.

Any help?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

This is an event that is run when the user logs into their mysite.

With this in mind you can fetch the mysite as the user to simulate logging in.

I haven't really looked into a more elegant way of doing this, but there perhaps may be.

This is the basis of all my warm up scripts for powershell and mysites, it's really quick when run on a local machine, and there is no reason why this can't be done remotely or in a service/event receiver.

share|improve this answer
    
So if i'd issue a SOAP request to the _vti_bin/Authentication.asmx?WSDL, the site would get created? –  Synoptase Oct 22 '12 at 14:16
    
That method, I haven't tested. I doa http request with ntlm auth to the mysite page itself for each user. –  Hugh Wood Oct 22 '12 at 15:48
    
Ok, i'll try that out. Thanks for your insights! –  Synoptase Oct 23 '12 at 8:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.