asp.net.ph

FormsAuthentication.Authenticate Method

System.Web.Security Namespace   FormsAuthentication Class


Attempts to validate the credentials against those contained in the configured credential store, given the supplied credentials.

[ VB ]
Public Shared Function Authenticate ( _
   name As String, _
   password As String _
 ) As Boolean

[ C# ]
public static bool Authenticate (
   string name,
   string password
);

[ C++ ]
public: static bool Authenticate (
   String* name,
   String* password
);

[ JScript ]
public static function Authenticate (
   name : String,
   password : String
 ) : Boolean;

Parameters

name
The user name
password
The user password.

Return Value

true if the credentials are valid, otherwise returns false.

See Also

FormsAuthentication Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note