Password reset portal issue - How to decide which accounts you can change the password for

Hi everyone!

I'm trying to change the list of accounts for which a password reset is possible. By default, when I access the PasswordResetPortal, I can change the password for all accounts associated with an identity, however, I would like to be able to decide which accounts you can change the password for and which you cannot.

How can I do this?

Thank you,

Martina

Parents Reply
  • Ok, now the original code is:

    Public Overridable Function QER_PasswordWeb_IsAllowSet(ByVal UID_Person As String, ByVal ObjectKey As String, ByVal ColumnName As String) As Boolean
    
    ***Some code***
    
    End Function

    and my custom code is:

    Public Overrides Function QER_PasswordWeb_IsAllowSet(ByVal UID_Person As String, ByVal ObjectKey As String, ByVal ColumnName As String) As Boolean
    
    ***Some code***
    
    End Function

    but it doesn't seem to work. 

    To make a basic (brutal) test I have inserted this line of code at the end of the code (before the return) in order to return the desired value, in this way I believe it should go to affect all the passwords:

    IsAllowSet = False

    but, again, it doesn't work.

    Is there any particular configuration to implement? What could be the problem?

Children