AuthenticatingEventArgs::Password Property
.NET Framework (current version)
Gets the password for the user.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
You use the Password property to retrieve the password during the Authenticating event.
The following example shows an event handler that passes UserName and Password values to a custom membership provider to validate the user credentials. The event handler sets Authenticated to the return value of the ValidateUser method and sets AuthenticationIsComplete to true so that the AuthenticationService class does not validate the credentials.
.NET Framework
Available since 3.5
Available since 3.5
Show: