CreateUserProfile Method

The CreateUserProfile method of the UserProfileManager class creates a user profile.

Return Value

Microsoft.SharePoint.Portal.UserProfiles.UserProfileUserProfile that represents a user profile.


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".


Platforms: Microsoft Windows Server 2003

Security: Code Access Security