Back to API Home

Sets the password of this LocalUserAccount.

Namespace: Dundas.Dashboard.Administration
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

Syntax

C#
public void SetPasswordAsync(
	string newPassword,
	OnCompleted<LocalUserAccount> callback
)
Visual Basic
Public Sub SetPasswordAsync ( 
	newPassword As String,
	callback As OnCompleted(Of LocalUserAccount)
)

Parameters

newPassword
Type: System..::..String
The local account's new unencrypted password.
callback
Type: Dundas.Dashboard..::..OnCompleted<(Of <(<'LocalUserAccount>)>)>
The callback that is invoked when the method completes.

Exceptions

ExceptionCondition
Dundas.Dashboard..::..ObjectNotFoundExceptionThe local account does not exist.
Dundas.Dashboard..::..NoPrivilegeExceptionNo privilege for attempted operation.
Dundas.Dashboard..::..InvalidSessionExceptionYour session is no longer valid.

See Also