IAccountsProvider3SetLocalUserAccountNewPassword 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 (24.4.0.1000)
Syntax
void SetLocalUserAccountNewPassword(
	Guid accountId,
	string newPassword,
	SetPasswordOptions options
)

Parameters

accountId
Type: SystemGuid
The ID of the account.
newPassword
Type: SystemString
The new password.
options
Type: Dundas.BI.AccountServicesSetPasswordOptions
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 and the password history policy is not satisfied.
See Also