Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CreatingCookieEventArgs::Password Property

 

Gets the password for the user.

Namespace:   System.Web.ApplicationServices
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public:
property String^ Password {
	String^ get();
}

Property Value

Type: System::String^

The password that is provided by the user for authentication.

You use the Password property to retrieve the password when you set custom values in the authentication ticket.

System_CAPS_noteNote

Do not save the value of the Password property in the authentication ticket. A malicious user can access the cookie and retrieve the password even though the cookie is encrypted.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft