Hello
I'm trying to find the owner of the ticket through API REST call, any idea?
http://127.0.0.2:8081/alfresco/service/api/people/admin?alf_ticket=TICKET_aa4fe06e208bdc10a551b17d43626ef8df3174f9
with this call, it gets you any person you put in place of the 'admin' parameter
http://127.0.0.2:8081/alfresco/service/api/login/ticket/TICKET_aa4fe06e208bdc10a551b17d43626ef8df3174f9?alf_ticket=TICKET_aa4fe06e208bdc10a551b17d43626ef8df3174f9
this will get you that is valid ... but whos the owner? To whom the ticket belongs? I need the username somehow without asking her password (i can ask for username).
Or at least somehow to send the ticket and username and get a response if that username is the owner of the ticket. e.g.
response: YES (George is the owner of that ticket)
NO (George is not the owner of that ticket)
Thank you all!!!
Solved! Go to Solution.
Solved. Create a webscript with auth user level and return the current username.
Solved. Create a webscript with auth user level and return the current username.
Thanks for coming back and letting us know how you worked it out. Should help someone in the future!
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.