|
ISecurityServiceChangePassword Method
|
Changes user password.
Namespace: GSF.Web.EmbeddedAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.248-beta
Syntax[OperationContractAttribute]
[WebGetAttribute(UriTemplate = "/changepassword?oldpassword={oldPassword}&newpassword={newPassword}")]
bool ChangePassword(
string oldPassword,
string newPassword
)
<OperationContractAttribute>
<WebGetAttribute(UriTemplate := "/changepassword?oldpassword={oldPassword}&newpassword={newPassword}")>
Function ChangePassword (
oldPassword As String,
newPassword As String
) As Boolean
[OperationContractAttribute]
[WebGetAttribute(UriTemplate = L"/changepassword?oldpassword={oldPassword}&newpassword={newPassword}")]
bool ChangePassword(
String^ oldPassword,
String^ newPassword
)
[<OperationContractAttribute>]
[<WebGetAttribute(UriTemplate = "/changepassword?oldpassword={oldPassword}&newpassword={newPassword}")>]
abstract ChangePassword :
oldPassword : string *
newPassword : string -> bool
function ChangePassword(oldPassword, newPassword);
View SourceParameters
- oldPassword String
- User's current password.
- newPassword String
- User's new password.
Return Value
Booleantrue if the password is changed, otherwise false.
See Also