I would like to create a pb screen in which some of the buttons /labels should be visible to master user / specific user group. Is it possible to do so ? i.e command buttons only visible to specific group of the users.
Your question looks familiar to me. Are you a colleague of Bhargav? Are you working on the same project?
Yes, what you like to do is possible through VBA. Please see Processbook : Rights Group or user privilages
Thanks for your response. Yes, we are working for same project.
We want to access the group from PI Identities in processbook.
Like In PI Identities ,user can be added from AD only. Among AD we will classify list of groups for different users.
Could you please let us know how can we read PI Identities of user in pb.
I wouldn't know PI ProcessBook itself knows about PI Identities. It's a client and permissions are evaluated server side. This said, I don't believe there is a direct way to get a list of PI Identities from within ProcessBook.
It is possible to retrieve a list of Identities using AF SDK for the PI Data Archive and the AF Server but AF SDK is a .NET assembly and you need to build a wrapper to be able to utilize the methods.
I did not find PI SDK would allow to retrieve a list of identities nor did I find Identities being exposed by PI Web API.
Rather than using PI Identities, I would build my logic on AD Groups if I would be in your shoes. Interacting with AD Groups should work the same way as interacting with AD User accounts.
Agree. PI Identity objects should be mapped to AD groups via PI Mappings anyway, so just base the access/visibility of required controls on AD group membership.
Retrieving data ...