 | AdoIdentityProviderChangePassword Method |
Change the specified user password
Namespace: SanteDB.Persistence.Data.ServicesAssembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntaxpublic void ChangePassword(
string userName,
string newPassword,
IPrincipal principal,
bool isSynchronizationOperation = false
)
Public Sub ChangePassword (
userName As String,
newPassword As String,
principal As IPrincipal,
Optional isSynchronizationOperation As Boolean = false
)
public:
virtual void ChangePassword(
String^ userName,
String^ newPassword,
IPrincipal^ principal,
bool isSynchronizationOperation = false
) sealed
abstract ChangePassword :
userName : string *
newPassword : string *
principal : IPrincipal *
?isSynchronizationOperation : bool
(* Defaults:
let _isSynchronizationOperation = defaultArg isSynchronizationOperation false
*)
-> unit
override ChangePassword :
userName : string *
newPassword : string *
principal : IPrincipal *
?isSynchronizationOperation : bool
(* Defaults:
let _isSynchronizationOperation = defaultArg isSynchronizationOperation false
*)
-> unit Parameters
- userName String
- The user who's password is being changed
- newPassword String
- The new password to set
- principal IPrincipal
- The principal which is setting the password
- isSynchronizationOperation Boolean (Optional)
- True to bypass validation for the password change. False otherwise.
Implements
IIdentityProviderServiceChangePassword(String, String, IPrincipal, Boolean)
See Also