CreatePersonalSite Method

The CreatePersonalSite method of the UserProfile class creates a personal site for this user if a personal site doesn't already exist.


Exception Type Condition
PersonalSiteExistsException An user already has a personal site
PersonalSiteNamingConflictException A Personal site name conflicts with an existing site and the conflict could not be resolved
PersonalSiteCreateException A personal site could not be created at all
PersonalSitePartialCreateException A personal site was created, but not all of the properties or attributes could be set correctly


To create your own personal site you must have PortalRight.CreatePersonalSite and PortalRight.UseSubscription permissions.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security