Hello,
We need to use the OSuser in a SetAnalysis in QlikSense September 2018.
So far, we have tried this :
[PERIM_CRCO.TYPE_PERIM]={'PERIM_OPE'},[PERIM_CRCO.C_LOGINAD]={"=upper(subfield(OSuser(),'=',3))"}
or
[PERIM_CRCO.TYPE_PERIM]={'PERIM_OPE'},[PERIM_CRCO.C_LOGINAD]=upper(subfield(OSuser(),'=',3))
but none seems to work.
NB :
=> we do not want to use Security as we want to have several values for PERIM_CRCO.TYPE_PERIM
[PERIM_CRCO.C_LOGINAD] = {"$(=upper(subfield(OSuser(),'=',3)))"}
Works !!!
Thanks.
We are going to test passing it through a variable and if OK, problem solved !
OSUser returns something as Domain = XXX; Userid = spreau
As i just want spreau, i use subfield
I Suppose the pattern may vary depending on the way the server is linked with AD ?
[PERIM_CRCO.C_LOGINAD] = {"$(=upper(subfield(OSuser(),'=',3)))"}
Works !!!
Thanks.
We are going to test passing it through a variable and if OK, problem solved !