Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

SetPIUser.PIGroups Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetPIUser.PIGroups Property

PI Groups to set for the PI User

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[ParameterAttribute(Position = 2, Mandatory = true, HelpMessage = "PI Groups user belongs to")]
[ValidateNotNullOrEmptyAttribute]
public string[] PIGroups { get; set; }
<ParameterAttribute(Position := 2, Mandatory := true, HelpMessage := "PI Groups user belongs to")>
<ValidateNotNullOrEmptyAttribute>
Public Property PIGroups As String()
	Get
	Set

Dim instance As SetPIUser
Dim value As String()

value = instance.PIGroups

instance.PIGroups = value
public:
[ParameterAttribute(Position = 2, Mandatory = true, HelpMessage = L"PI Groups user belongs to")]
[ValidateNotNullOrEmptyAttribute]
property array<String^>^ PIGroups {
	array<String^>^ get ();
	void set (array<String^>^ value);
}
[<ParameterAttribute(Position = 2, Mandatory = true, HelpMessage = "PI Groups user belongs to")>]
[<ValidateNotNullOrEmptyAttribute>]
member PIGroups : string[] with get, set

Property Value

Type: String

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in