CurrentComputerHasGroup method
Returns True if the current computer is assigned to the specified computer group.
Syntax
bHasGroup = Application
.CurrentComputerHasGroup
(sGroups
)where
bHasGroup
– is a Boolean variable that will be set to True if the current computer is assigned to the specified group.Application
– is the name of a FactoryTalk View SE
Client Application object or an expression that evaluates to a FactoryTalk View SE
Client Application object.sGroups
– is a string that stands for the name of a group.Remarks
In the FactoryTalk security policies, if you use the names of terminal client to identify terminal server clients, make sure to add the terminal client account to the FactoryTalk network directory. Otherwise, it cannot get the current terminal client computer name and will return errors. For more information about FactoryTalk security policies, see FactoryTalk Help.
Provide Feedback