SobekCM_Database.Change_Password Method
Change an existing user's password
Namespace: SobekCM.Library.DatabaseAssembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public static bool Change_Password(
string Username,
string CurrentPassword,
string NewPassword,
bool IsTemporary,
Custom_Tracer Tracer
) |
Parameters
- Username
- Type: System..::..String
Username for the user
- CurrentPassword
- Type: System..::..String
Old plain-text password, which is then encrypted prior to saving
- NewPassword
- Type: System..::..String
New plain-text password, which is then encrypted prior to saving
- IsTemporary
- Type: System..::..Boolean
Flag indicates if the new password is temporary and must be changed on the next logon
- Tracer
- Type: SobekCM.Tools..::..Custom_Tracer
Trace object keeps a list of each method executed and important milestones in rendering
Return Value
Type:
Boolean TRUE if successful, otherwise FALSE
Remarks
See Also