UserLogin attempts to log the user in, and returns the User if successful
Namespace: DotNetNuke.Security.MembershipAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public override UserInfo UserLogin( int portalId, string username, string password, string authType, string verificationCode, ref UserLoginStatus loginStatus ) |
| Visual Basic |
|---|
Public Overrides Function UserLogin ( portalId As Integer, username As String, password As String, authType As String, verificationCode As String, ByRef loginStatus As UserLoginStatus ) As UserInfo |
Parameters
- portalId
- Type: System..::..Int32
The Id of the Portal the user belongs to
- username
- Type: System..::..String
The user name of the User attempting to log in
- password
- Type: System..::..String
The password of the User attempting to log in (may not be used by all Auth types)
- authType
- Type: System..::..String
The type of Authentication Used
- verificationCode
- Type: System..::..String
The verification code of the User attempting to log in
- loginStatus
- Type: DotNetNuke.Security.Membership..::..UserLoginStatus%
An enumerated value indicating the login status.