Hello,
Maybe anyone is aware of the SPEL method to get session info or role of loged in user?
Ok got it
logf(SIGNIFICANT, cnt::get_login_user_role_name());
There is also some other functions that may be usefull
logf(SIGNIFICANT, cnt::get_login_user_interface_type());
logf(SIGNIFICANT, cnt::get_login_user_grant_level());
Very useful information, but do you have functional examples? What parameters can be used? Where can the results of the function call be validated? Can this function be called from the call to another function for another object?, for example from a SPEL vaidation in a CR or in a CHG
Sorry if there are many questions in one.
Please your help.
Regards,
JOHN
Hi, as far as i know there is no parameters to this function. You can use them in any spel code e.g.
string role_wc;role_wc = format("name = '%s'", cnt::get_login_user_role_name());
Here you can find an usage example
https://communities.ca.com/docs/DOC-231159154
Thank you very much for your help.