[This is preliminary documentation and is subject to change.]

Resets user password and the mail is sent using the name and email Address of the currently logged in user.

Namespace:  OfficeClip.DBLayer.Account
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public void ResetPassword(
	int userId,
	string pw,
	bool isEmail,
	ConfigureInfo session
)
Visual Basic (Declaration)
Public Sub ResetPassword ( _
	userId As Integer, _
	pw As String, _
	isEmail As Boolean, _
	session As ConfigureInfo _
)
Visual C++
public:
void ResetPassword(
	int userId, 
	String^ pw, 
	bool isEmail, 
	ConfigureInfo^ session
)

Parameters

userId
Type: System..::.Int32
The user id for whose the password has to be reset.
pw
Type: System..::.String
The password to reset, if empty, a system selected password is emailed
isEmail
Type: System..::.Boolean
true if the password is to be sent via email
session
Type: OfficeClip.Utils..::.ConfigureInfo
The current login session

See Also