I want to implement a service which sets the security rights for PIPoints. Therefore we get the rights from a legacy system (Active Directory Groups) and I want to set these groups for each PIPoint.
I think, if not available, I has to create a PI Identity and a Mapping and afterwards I've the possibilitie to assign the PI Identity to the PIPoint. In the development guide I just found the handling of PIGroups & PIUsers but not with Identities & Mappings.
My Question is there a way to set the rights programmatically and if yes maybe some of you has a code snippet.
(We use OSIsoft.PISDK 22.214.171.124)