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

AF SDK Reference

AFCollectiveMember.CredentialsAccountName Property

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFCollectiveMember.CredentialsAccountName Property

Note: This API is now obsolete.

The account name used by the collective member to access primary server.

Namespace:  OSIsoft.AF.Collective
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

[ObsoleteAttribute("PI AF Servers 2.3 or later use certificates for authenticating between collective members.")]
public string CredentialsAccountName { get; }
<ObsoleteAttribute("PI AF Servers 2.3 or later use certificates for authenticating between collective members.")>
Public ReadOnly Property CredentialsAccountName As String
	Get

Dim instance As AFCollectiveMember
Dim value As String

value = instance.CredentialsAccountName
public:
[ObsoleteAttribute(L"PI AF Servers 2.3 or later use certificates for authenticating between collective members.")]
property String^ CredentialsAccountName {
	String^ get ();
}
[<ObsoleteAttribute("PI AF Servers 2.3 or later use certificates for authenticating between collective members.")>]
member CredentialsAccountName : string with get

Property Value

Type: String
Returns the account name used by the collective member to access primary server.

Remarks

This property specifies the account that the collective member uses when accessing the primary server. Use the SetCredentialsAccount(String, SecureString) method to set the value of this property. If not specified, then the account that the server is running under is used. You only need to specify this property if the account that the collective member is running under does not have access to primary server.
Important note Important
The value of this property is not used for collective members containing an PI AF Server 2.3 or later. PI AF Servers 2.3 or later use certificates for authenticating between collective members.

Version Information

AFSDK

Supported in: 2.7.5, 2.7, 2.6, 2.5, 2.4
Obsolete (compiler warning) in 3.1.1
Obsolete (compiler warning) in 3.1.0
Obsolete (compiler warning) in 3.0.2
Obsolete (compiler warning) in 3.0.1
Obsolete (compiler warning) in 3.0.0
Obsolete (compiler warning) in 2.10.11
Obsolete (compiler warning) in 2.10.5
Obsolete (compiler warning) in 2.10.0
Obsolete (compiler warning) in 2.10
Obsolete (compiler warning) in 2.9.5
Obsolete (compiler warning) in 2.9
Obsolete (compiler warning) in 2.8.5
Obsolete (compiler warning) in 2.8

See Also

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