The PIGroups collection represents a list of user groups from a particular PI server. Each contained PIGroup in turn contains a collection of users (PIUsers). Depending on where it is obtained from, the collection has different contents. The PIGroups collection obtained from a Server object represents all user groups on the PI server. A PIGroups collection obtained from a PIUser contains only those groups on a PI server to which the PIUser belongs.
The PIUsers and PIGroups collections and the PIUser and PIGroup objects are typically used by applications that are designed to manage a PI servers user base.
This object supports the IRefresh and the IPISecurity interfaces.