asked on May 11, 2021
I am looking to have a LFDS user to reset their password when logging into Web Link. I am using the following code when creating the user and would like to have them reset the password.
' Is the user already created? Dim LFDSUser As LaserficheUser = LaserficheUser.Create(db) ' Need to create the user. LFDSUser.ContainerID = GetOrganizationbyName(sOrganizationName, db) LFDSUser.MfaRequired = False LFDSUser.Name = sUsername LFDSUser.Password = sPassword LFDSUser.PasswordUsesLeft = 0 LFDSUser.Enabled = True LFDSUser.Register()
I was thinking that the PasswordUsesLeft set to 0 would kick off that process. I also tried 1, but that also did not work. Is the PasswordUsesLeft the right variable to be using? If so, what should I set it to? If not, where do I set it so that the user would reset their password?
0
0