| 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
)
Sub ChangePassword (
userName As String,
newPassword As String,
principal As IPrincipal,
Optional force As Boolean = false
)
void ChangePassword(
String^ userName,
String^ newPassword,
IPrincipal^ principal,
bool force = false
)
abstract ChangePassword :
userName : string *
newPassword : string *
principal : IPrincipal *
?force : bool
(* Defaults:
let _force = defaultArg force false
*)
-> unit
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