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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph