RenameProfile(oldProfileName, Password, newProfileName, uiParam, flags)
Assigns a new name to a profile.
Parameters
oldProfileName : string
The current name of the profile to rename.Password : string
Must be NonenewProfileName : string
The new name of the profile to rename.uiParam=0 : int
A handle of the parent window for any dialog boxes or windows that this method displays.
flags=0 : int