Click or drag to resize

IIdentityProviderServiceChangePassword Method

Change user password

Namespace:  SanteDB.Core.Security.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
void ChangePassword(
	string userName,
	string newPassword,
	IPrincipal principal,
	bool force = false
)

Parameters

userName
Type: SystemString
The username of the user to update
newPassword
Type: SystemString
The new password for the user.
principal
Type: System.Security.PrincipalIPrincipal
The principal responsible for the password change. This principal is checked for permission to change passwords.
force (Optional)
Type: SystemBoolean
True to bypass password validation. False to perform validation.
See Also