Change password for this user. Exception will be thrown, if the old password doesn't match. Only System Admin can perform this method, otherwise, Security Exception is thrown.

Namespace: Cartella.Interfaces
Assembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
void SetPassword(
	string oldPassword,
	string newPassword
)
Visual Basic
Sub SetPassword ( _
	oldPassword As String, _
	newPassword As String _
)
Visual C++
void SetPassword(
	String^ oldPassword, 
	String^ newPassword
)

Parameters

oldPassword
Type: System..::..String
Old password (Encypted)
newPassword
Type: System..::..String
New password (Encypted)

Field Value

Void

See Also