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, bool autoAdd ) |
Visual Basic |
---|
Public Function IsPasswordInHistory ( userId As Integer, portalId As Integer, newPassword As String, autoAdd As Boolean ) As Boolean |
Parameters
- userId
- Type: System..::..Int32
paramuserIdM:DotNetNuke.Entities.Users.Membership.MembershipPasswordController.IsPasswordInHistory(System.Int32,System.Int32,System.String,System.Boolean)
- portalId
- Type: System..::..Int32
portalid - futureproofing against any setting become site level
- newPassword
- Type: System..::..String
users new password suggestion
- autoAdd
- Type: System..::..Boolean
If set true then add the password into history if its not used yet.