Gets validity of user and password
Namespace: Caisis.DataAccessAssembly: Caisis.DataAccess (in Caisis.DataAccess.dll) Version: 4.0.4947.22627
Syntax
C# |
---|
public string ValidateUser( string userName, string password, byte requirePasswordUpdateOnFirstLogin, int elapsedDays ) |
Visual Basic |
---|
Public Function ValidateUser ( userName As String, password As String, requirePasswordUpdateOnFirstLogin As Byte, elapsedDays As Integer ) As String |
Visual C++ |
---|
public: String^ ValidateUser( String^ userName, String^ password, unsigned char requirePasswordUpdateOnFirstLogin, int elapsedDays ) |
Parameters
- userName
- Type: System..::..String
username
- password
- Type: System..::..String
password
- requirePasswordUpdateOnFirstLogin
- Type: System..::..Byte
[Missing <param name="requirePasswordUpdateOnFirstLogin"/> documentation for "M:Caisis.DataAccess.UserDa.ValidateUser(System.String,System.String,System.Byte,System.Int32)"]
- elapsedDays
- Type: System..::..Int32
[Missing <param name="elapsedDays"/> documentation for "M:Caisis.DataAccess.UserDa.ValidateUser(System.String,System.String,System.Byte,System.Int32)"]
Return Value
Type: Stringstatus code of Valid, InvalidUsername, InvalidPassword, or InvalidDeactivated