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

PI Powershell

AddPIUser.Password Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddPIUser.Password Property

Password for the PI User. This is supplied as a SecureString. ConvertTo-SecureString can be used to convert a String to a SecureString.

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[ParameterAttribute(Position = 1, Mandatory = false, HelpMessage = "PI User password")]
public SecureString Password { get; set; }
<ParameterAttribute(Position := 1, Mandatory := false, HelpMessage := "PI User password")>
Public Property Password As SecureString
	Get
	Set

Dim instance As AddPIUser
Dim value As SecureString

value = instance.Password

instance.Password = value
public:
[ParameterAttribute(Position = 1, Mandatory = false, HelpMessage = L"PI User password")]
property SecureString^ Password {
	SecureString^ get ();
	void set (SecureString^ value);
}
[<ParameterAttribute(Position = 1, Mandatory = false, HelpMessage = "PI User password")>]
member Password : SecureString with get, set

Property Value

Type: SecureString

See Also

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