Yes, that should work.
Original Message:
Sent: Thu May 25, 2023 09:41 AM
From: Rutvik Rajpura
Subject: Case Manager REST APIs
Hello Ramesh,
Thanks for the response,
Will it work if am adding user to LDAP groups and groups to roles? I tried adding user directly into the Roles and it worked, Due to limitation of environment I am not able to verify it by adding user to LDAP Groups.
Also if you have any reference of querying the repository let me know? It will be a great help.
------------------------------
Rutvik Rajpura
Original Message:
Sent: Thu May 25, 2023 08:57 AM
From: Ramesh Bhat
Subject: Case Manager REST APIs
Ok, you are using PE Rest service for this. Instead, you can use navigator's JS api to get the user roles in the current solution.
ecm.model.desktop.currentSolution._solutionRoles;
This will retrieve the roles (in which user is present) of the current solution. If you need something more related to user then you can query the user on Repository object.
------------------------------
Ramesh Bhat
Original Message:
Sent: Thu May 25, 2023 05:43 AM
From: Rutvik Rajpura
Subject: Case Manager REST APIs
Hello Ramesh,
I am looking for all the roles in which user is present.
Right now below rest URL I am using to fetch myRoles.
"https://CaseManagerServer/CaseManager/P8BPMREST/p8/bpm/v1/appspaces/" + "myAppSapce" + "/myroles?cp=ConnectionPoint"
------------------------------
Rutvik Rajpura
Original Message:
Sent: Thu May 25, 2023 04:54 AM
From: Ramesh Bhat
Subject: Case Manager REST APIs
Hi Rutvik,
You can use navigator JavaScript API model objects to get current role in the solution or you can query the user to get all the roles. What is your requirement so you are trying to get it from CASEREST? Could you provide the link for the CASEREST API you are using?
------------------------------
Ramesh Bhat
Original Message:
Sent: Thu May 25, 2023 04:22 AM
From: Rutvik Rajpura
Subject: Case Manager REST APIs
Hello All,
Currently I am using Case manager REST APIs to fetch current users roles details from IBM BAW Case solution from Script Adaptors. Here my problem is ICN is hosted on different server and BAW is hosted on deferent server. My problem is I have to using static name of BAW server to access REST apis from navigator, is there any way to get server names dynamically?
------------------------------
Rutvik Rajpura
------------------------------