checks to see if the password is in history and adds it if it is not
Namespace: DotNetNuke.Entities.Users.MembershipAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public bool IsPasswordInHistory( int userId, int portalId, string newPassword ) |
| Visual Basic |
|---|
Public Function IsPasswordInHistory ( userId As Integer, portalId As Integer, newPassword As String ) As Boolean |
Parameters
- userId
- Type: System..::..Int32
paramuserIdM:DotNetNuke.Entities.Users.Membership.MembershipPasswordController.IsPasswordInHistory(System.Int32,System.Int32,System.String)
- portalId
- Type: System..::..Int32
portalid - futureproofing against any setting become site level
- newPassword
- Type: System..::..String
users new password suggestion