Share via


UserProfile.CreatePersonalSite Method (Int32)

Creates a personal site for the user if one does not already exist using the specified language code identifier (LCID).

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Sub CreatePersonalSite ( _
    lcid As Integer _
)
'Usage
Dim instance As UserProfile
Dim lcid As Integer

instance.CreatePersonalSite(lcid)
public void CreatePersonalSite(
    int lcid
)

Parameters

  • lcid
    Type: System.Int32
    An integer that specifies the LCID to use when creating the personal site.

Remarks

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

See Also

Reference

UserProfile Class

UserProfile Members

CreatePersonalSite Overload

Microsoft.Office.Server.UserProfiles Namespace