MySQL Connector/Net
MySqlWebSecurityLogin Method |
Namespace: MySql.Web.Security
Assembly: MySql.Web (in MySql.Web.dll) Version: 6.9.9

public static bool Login( string userName, string password, bool createPersistentCookie = false )
Public Shared Function Login ( userName As String, password As String, Optional createPersistentCookie As Boolean = false ) As Boolean
public: static bool Login( String^ userName, String^ password, bool createPersistentCookie = false )
static member Login : userName : string * password : string * ?createPersistentCookie : bool (* Defaults: let _createPersistentCookie = defaultArg createPersistentCookie false *) -> bool
Parameters
- userName
- Type: SystemString
- password
- Type: SystemString
- createPersistentCookie (Optional)
- Type: SystemBoolean
Return Value
Type: Boolean