.
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
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.
3/16/2007 8:32:59 AM - -201.25.215.28