This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PasswordQuery is to short

Hi,

The PasswordQuery is to short in Person (64 character). I've the Problem that the Questions are given by the security officer. At the end I added a new field with ccc_PasswordQuery and changed all the normal fields.

At the end I've still one problem:

var vars = _UserSession.SessionModule.TableStore.GetTable("SessionAuthVars");

var accountName = vars.GetColumn("AccountName").GetValue(vars.First()).String;

var q = await VI.WebRuntime.ServiceConnection.Get().Session.GetLimitedSqlScalarAsync<string>("QER_Person_GetPasswordQuery", new []{ new QueryParameter("CentralAccount", ValType.String, accountName)}, _cx).ConfigureAwait(false);

vars.GetColumn("PasswordQuery").SetValue(vars.First(), q);

 This CodeSnippet delivers only the PasswordQuery and not the CCC_PasswordQuery. If I fill it with a user method, I get an exception that I've not enough rights.

Did anyone know, where I find the QER_Person_GetPasswordQuery? or knows a solution here?

Regards

Friedhelm

Parents
  • Hi Juancarlos,

    I just changed the length of the password question to 256 characters and send a request to enlarge the field to 256. Otherwise I've to do this after each update.

    Cheers

    Friedhelm

  • Hi, thank you all. I just needed to know how to access other elements of the Person table , such as a secondary email address field , so the user could recover the password via this method. After checking the table QBMLimitedSQL from Markus answer I've been able to create a new SQL snippet and now I'm free to go Slight smile

Reply
  • Hi, thank you all. I just needed to know how to access other elements of the Person table , such as a secondary email address field , so the user could recover the password via this method. After checking the table QBMLimitedSQL from Markus answer I've been able to create a new SQL snippet and now I'm free to go Slight smile

Children
No Data