UserProfile.CreatePersonalSite method (Int32)

SharePoint Online

This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.SharePoint.Client.UserProfiles
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

public void CreatePersonalSite(
	int lcid


Type: System.Int32

You can use the CreatePersonalSiteEnque method to create a personal site for the current user. For SharePoint Online development, My Site Host administrators can also use the ProfileLoader.CreatePersonalSiteEnqueueBulk method to create personal sites for one or more users.