SetPIUser.PIGroups Property
- Last UpdatedDec 15, 2025
- 2 minute read
PI Groups to set for the PI User
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)
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