Is there any way to get the logged user information through API?
Beantwortet
Gepostet 26. Apr. 2022
Hi, I want to get the logged user information on the ticket. I can't find this in the documentation
0
12
Gepostet 26. Apr. 2022
Hi, I want to get the logged user information on the ticket. I can't find this in the documentation
0
12 Kommentare
Aleksandar Salevski
Guys any help on this one!
0
Aleksandar Salevski
Any help here 1263082154109?
0
Aleksandar Salevski
0
Greg Katechis
0
Aleksandar Salevski
Or i go this:
0
Aleksandar Salevski
i get this error, ReferenceError: client is not defined
0
Israr Ansari
Hey Eric
Thanks! this works for me
0
Eric Nelson
Thanks for the additional info. You can use the currentUser method available for the Apps Framework to accomplish this.
zafClient.get('currentUser.role')
Hope this helps!
0
Israr Ansari
Hey Eric
Basically, I want to show some settings or configurations of my custom app on the ticket side but this setting is only visible for the admin not for the agent. So I want to develop a condition if the login user is an agent do something and if the login user is an admin show setting to him/her. That's why I want to get login user information. but unfortunately, I did not find something in the documentation that guide me on this. I hope you get my point if you have any questions about this then let me know.
Thanks!
0
Eric Nelson
Can you tell me more about your use case?
Thanks!
0
Melden Sie sich an, um einen Kommentar zu hinterlassen.