Hey guys, on my app, I want it to be open for everyone, but some specific functions to a restrict employees.
Now I am using a formula like this.
Set(varUserAllows ; Or(
User().FullName = "Adilson Ferreira" ;
User().FullName = "Alexandre Wojciechowski" ;
User().FullName = "Jairo Pires Alves" ;
User().FullName = "Jesse Paula" ;
User().FullName = "Luiz Fernando Seeller" ;
User().FullName = "Mauricio Caneca Neto" ;
User().FullName = "Milton Silva" ;
User().FullName = "Rafael de Carvalho" ;
User().FullName = "Vagner Oliveira" ;
User().FullName = "Valter Diego Percegona";
User().FullName = "Edio Paulo da Silva";
User().FullName = "Sergio Cotta";
User().FullName = "Igor Oliveira";
User().FullName = "Kleber Antônio Glovatski" ;
User().FullName = "Thais Machado";
User().FullName = "Rafael Vinicius Dropa de Bortoli";
User().FullName = "Diogo Albino";
User().FullName = "Marcelo Nunes Stefano"))
Considering that the User().FullName is a slow function, how can I optimize it to the app load faster and get the same results?
This formula is on the OnStart property...