AFCollectiveMember.AccountName Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property is the account name that the PI AF Server
for this AFCollectiveMember is executing under.
Namespace: OSIsoft.AF.Collective
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public string AccountName { get; set; }
Public Property AccountName As String Get Set Dim instance As AFCollectiveMember Dim value As String value = instance.AccountName instance.AccountName = value
public: property String^ AccountName { String^ get (); void set (String^ value); }
member AccountName : string with get, set
Property Value
Type: StringThe account name of the PI AF Server for this AFCollectiveMember is executing under.
Remarks
This property is used to authenticate the connection to the PI AF Server.
If this property is not set, then an attempt is made to determine the server's
host name from the DNS and authenticate using the server's host name.