PIGroups Property (PIUser object)

                

 

A Read-Only property that returns a reference to a PIGroups object containing a collection of user groups to which the PIUser belongs. The returned collection can be manipulated in the same way as the PIGroups collection returned by the Server as described in the PIGroups documentation.

 

Syntax

object.PIGroups

The object placeholder is an object expression that evaluates to a PIUser object.

 

Remarks

The PIUser.PIGroups collection shows from the user's standpoint, what groups the user belongs to. The same information can be determined by looking at the Server.PIGroups collection and examining the PIUsers collection of each PIGroup in the collection.

 

Trappable Errors

In addition to generic errors (such as Out of Memory), the following errors may occur:

Error

Description

pseUSERDATAFETCH

Unable to retrieve data for a particular user from the server.

Enabling Operational Intelligence