Forum Discussion
I am getting the following error message with the below post request:
----Error---
"status": "error",
"message": "[object Object]"
}
--------Request------
[
{
"column": "CLIENT_ID",
"shares": [
{
"party": "rahul.dhomane",
"type": "user"
}
],
"table": "s01_a_n_se_ratig_y_clien.txt",
"allMembers": null,
"datatype": "text",
"members": [
"0653"
],
"exclusionary": false
}
]
Hi rahuldhomane
Please refer to this example:
[
{
"allMembers": true,
"column": "string",
"datatype": "string",
"elasticube": "string",
"exclusionary": true,
"members": [
"string"
],
"server": "string",
"shares": [
{
"party": "string",
"type": "string"
}
],
"table": "string"
}
]
According to documentation, party property needs to be UUID/OID of the User or Group entity
Data Security API
To get the user ID, type prism.user._id in the browser console while logged into sisense.
If you want to get any user id, you can use rest api v1.0 -> GET/users
- Alek
[email protected]