Click or drag to resize

GenericAuthenticationProviderChangeUserPassword Method

Changes the password for the user. Performs the same functionality as ChangePassword(IAppContext, String, String, String) except that it returns the new password (raw for two-way encryptions, encrypted for one-way encryptions) as is appropriate for storing in Password.

Namespace:  NetQuarry.Security
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public virtual string ChangeUserPassword(
	IAppContext appContext,
	string userID,
	string oldPWD,
	string newPWD
)

Parameters

appContext
Type: NetQuarryIAppContext
The application context.
userID
Type: SystemString
The user ID.
oldPWD
Type: SystemString
The old (current) password value.
newPWD
Type: SystemString
The new password value.

Return Value

Type: String
The new password, raw for two-way encryptions, encrypted for one-way encryptions.

Implements

IAuthenticationProviderChangeUserPassword(IAppContext, String, String, String)
See Also