Validates a User's Password and Profile
Namespace: DotNetNuke.Entities.UsersAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static UserValidStatus ValidateUser( UserInfo objUser, int portalId, bool ignoreExpiring ) |
Visual Basic |
---|
Public Shared Function ValidateUser ( objUser As UserInfo, portalId As Integer, ignoreExpiring As Boolean ) As UserValidStatus |
Parameters
- objUser
- Type: DotNetNuke.Entities.Users..::..UserInfo
The user attempting to log in
- portalId
- Type: System..::..Int32
The Id of the Portal the user belongs to
- ignoreExpiring
- Type: System..::..Boolean
Ingore expired user.
Return Value
The UserLoginStatus
Remarks
This overload takes a valid User (Credentials check out) and check whether the Password and Profile need updating