Open this page in the API Guide

IAccountsProvider3.SetLocalUserAccountNewPassword Method (Guid, String, SetPasswordOptions)

Updates a local user account's password.

Namespace:  Dundas.BI.AccountServices.Extensibility
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
void SetLocalUserAccountNewPassword(
	Guid accountId,
	string newPassword,
	SetPasswordOptions options
)

Parameters

accountId
Type: System.Guid
The ID of the account.
newPassword
Type: System.String
The new password.
options
Type: Dundas.BI.AccountServices.SetPasswordOptions
Exceptions
ExceptionCondition
NotFoundExceptionThe account does not exist.
ValidationExceptionThe new password is not valid.
NotSupportedExceptionThe accounts provider does not support modify operations.
Remarks
Note Note
This method should also throw a ValidationException if EnforcePasswordHistoryPolicy is true and the password history policy is not satisfied.
See Also