win32profile.DeleteProfile

DeleteProfile(SidString, ProfilePath, ComputerName)

Remove profile for a user identified by string SID from specified machine.

Parameters

SidString : PyUnicode

String representation of user's Sid. See win32security::ConvertSidToStringSid.

ProfilePath=None : PyUnicode

Profile directory, value queried from registry if not specified

ComputerName=None : PyUnicode

Name of computer from which to delete profile, local machine assumed if not specified