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

PI Powershell

AddAFSecurityMapping.Account Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddAFSecurityMapping.Account Property

Account to add to the AF Security Mapping. The parameter can be provided as a string, for example:

"domain\user"

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

Syntax

[ParameterAttribute(Position = 1, Mandatory = true, ValueFromPipeline = false, 
	ParameterSetName = "Account", HelpMessage = "Security Mapping Account")]
[ValidateNotNullOrEmptyAttribute]
public string Account { get; set; }
<ParameterAttribute(Position := 1, Mandatory := true, ValueFromPipeline := false, 
	ParameterSetName := "Account", HelpMessage := "Security Mapping Account")>
<ValidateNotNullOrEmptyAttribute>
Public Property Account As String
	Get
	Set

Dim instance As AddAFSecurityMapping
Dim value As String

value = instance.Account

instance.Account = value
public:
[ParameterAttribute(Position = 1, Mandatory = true, ValueFromPipeline = false, 
	ParameterSetName = L"Account", HelpMessage = L"Security Mapping Account")]
[ValidateNotNullOrEmptyAttribute]
property String^ Account {
	String^ get ();
	void set (String^ value);
}
[<ParameterAttribute(Position = 1, Mandatory = true, ValueFromPipeline = false, 
	ParameterSetName = "Account", HelpMessage = "Security Mapping Account")>]
[<ValidateNotNullOrEmptyAttribute>]
member Account : string with get, set

Property Value

Type: String

See Also

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