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

AF SDK Reference

AFActiveDirectoryProperties Class

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFActiveDirectoryProperties Class
The AFActiveDirectoryProperties object is used to get and set the Active Directory configuration properties used by the PI AF Server to access contact information.

Inheritance Hierarchy

SystemObject
  OSIsoft.AFAFActiveDirectoryProperties

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

Syntax

public sealed class AFActiveDirectoryProperties
Public NotInheritable Class AFActiveDirectoryProperties

Dim instance As AFActiveDirectoryProperties
public ref class AFActiveDirectoryProperties sealed
[<SealedAttribute>]
type AFActiveDirectoryProperties =  class end

The AFActiveDirectoryProperties type exposes the following members.

Constructors

  NameDescription
Public method
AFActiveDirectoryProperties
Creates an instance of the Active Directory properties.

Properties

  NameDescription
Public property
AccountName
The account name used to access Active Directory from the server.
Public property
DomainController
The domain used to access Active Directory.
Public property
ImpersonateUser
Indicates whether the security of the client or server should be used when accessing Active Directory.
Public property
ReturnAllPersons
Indicates whether all types of persons should be returned from Active Directory.
Public property
UseGlobalCatalog
Indicates whether to used the cached global catalog or Active Directory to retrieve users.
Public property
UserFolder
This Active Directory user folder name.

Methods

  NameDescription
Public method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
SetAccount
Set the account used to access Active Directory from the server.
Public method
ToString
Returns a string that represents the current object.
(Inherited from Object.)

Version Information

AFSDK


See Also

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