RemoveUserProfile(System.Guid) Method

The RemoveUserProfile method of the UserProfileManager class removes the user profile, quick links, and alert data from the user profile database for the specified GUID.

Parameters

guidDelete   The unique identifier for the user profile to be deleted from the user profile database.

Remarks

To remove your own user profile you must have PortalRight.UseSubscription permission. To remove a user profile for another user you must have PortalRight.ManageUserProfile permission. To remove your own user profile on the Web you must pass a string containing "UsePersonalFeatures".

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security