DeleteProfile (userenv)
Last changed: -201.25.215.28

.
Summary
The DeleteProfile function deletes the user profile and all user-related settings from the specified computer. The caller must have administrative privileges to delete a user's profile.

C# Signature:

[DllImport("userenv.dll", SetLastError=true)]
static extern bool DeleteProfile(string lpSidString, string lpProfilePath, lpComputerName);

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation