MembershipProvidersServicesChangePassword Method Ingeniux CMS Web Services API

Changes password of specified user account

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public XHRServiceResponseGeneric<ChangePasswordOutput> ChangePassword(
	string providerName,
	string userName,
	string oldpassword,
	string newpassword
)

Parameters

providerName
Type: SystemString
Name of membership provider for given user account
userName
Type: SystemString
User Account Id
oldpassword
Type: SystemString
Current password for given user
newpassword
Type: SystemString
New password for given user

Return Value

Type: XHRServiceResponseGenericChangePasswordOutput

The password change result, and requirements from Membership Provider on password format

Examples

Sample JSON return
JavaScript
{
    PasswordChanged: true,
    MinPasswordLength: 8,
    MinNonAlphaNumericCharactersLength: 2
}
s
Remarks

Not all Membership Providers implements "ChangePassword" method. If not, this operation will thrown "NotImplemented" exception into error response format.
See Also

Reference