UserProfileManager.CreateUserProfile Method
Creates a user profile.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function CreateUserProfile As UserProfile
'Usage
Dim instance As UserProfileManager
Dim returnValue As UserProfile
returnValue = instance.CreateUserProfile()
public UserProfile CreateUserProfile()
Return Value
Type: Microsoft.Office.Server.UserProfiles.UserProfile
that represents a user profile.
Remarks
To create your own user profile you must have PortalRight.UseSubscription permission. To create a user profile for another user you must have PortalRight.ManageUserProfile permission. To create your own user profile on the Web you must pass a string containing "UsePersonalFeatures".