Find Method (PIUsers collection)

               

 

This method is used to find the names of PIUser objects that belong to all or some of the passed PIGroup names. The method returns a NamedValues collection containing the names of the PIUser objects that meet the passed criteria.

 

Not Implemented

 

Syntax

object.Find nvGroupNames, ContainsConstants

The Find method syntax has these parts:

Part

Description

object

An object expression that evaluates to a PIUsers collection.

nvGroupNames

A NamedValues collection containing the PIGroup names desired.

ContainsConstants

A constant from the ContainsConstants enumeration indicating what type of search to perform. See below.

 

Settings

The settings for ContainsConstants are:

Setting

Description

cntnsAll

Returned PIUser names must be a member of all of the passed groups.

cntnsSome

Returned PIUser names need to be a member of 1 or more of the passed groups.

cntnsOnly

Returned PIUser names must be a member of only the groups from the passed list.

 

Remarks

If successful this method returns a NamedValues collection of PIUser names. If no matching collections are found the returned collection will have a count of 0.

Enabling Operational Intelligence