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

Password Portal code snippets and documentation v8.0.1

Hi,

I'm trying to customize the Password Portal in v8.0.1 and have it send the otp reset code to an external email address. Searching I've found this code snippet in QER_PasswordWeb_Session

(...)

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);

(...)

, which loads the value of the PasswordQuery column from Person into the temporary SessionAuthVars collection. How could I use these snippets to load, let's say, the value of the column DefaultEmailAddress from the table Person? I can see functions like QER_Person_GetPasswordQuery, are they documented?

Thanks!