You would need a POST method to write value to a point
Which programming are you going to use?
For troubleshooting if this POST method is going to work, you can use postman or fiddler software.
1 of 1 people found this helpful
The short answer is that unfortunately the PI Web API doesn't expose information on which mapping is in use or which PI Points the current user has write access to.
To give you an example background on security configuration in PI:
At the application level (browser) I send requests to PI Web API with the user OSI\as...
At the PI Data Archive level this windows user identity is mapped to piadmins group:
And, finally, at the PI Point level the piadmins group is configured to have read only access to the PI Point data (to clarify, this is a specific PI Point we are talking about). This information is stored in the DataSecurity attribute of a PI Point:
So, while you can certainly get DataSecurity attribute information from the PI WebAPI, it won't be of much use alone because you aren't told which PI Identity your user is mapped to.
To the community: has anyone else faced this issue and come up with an elegant solution?
Then we change our strategy. We're going to try write/delete a value in the point, then we're going to know if the user nt has write access.
We know, that isn't an elegant solution but we prefer to assume the risk of hava some dirty value in the point
Thanks so much