checks if the password reset token being used is valid i.e. has not been used before and is within the the expiration period
Namespace: DotNetNuke.Entities.Users.MembershipAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public bool IsValidToken( int userId, Guid resetToken ) |
Visual Basic |
---|
Public Function IsValidToken ( userId As Integer, resetToken As Guid ) As Boolean |
Parameters
- userId
- Type: System..::..Int32
user attempting to reset their password
- resetToken
- Type: System..::..Guid
reset token supplied via email link