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

AF SDK Reference

AFActiveDirectoryProperties.ImpersonateUser Property

AFActiveDirectoryProperties.ImpersonateUser Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFActiveDirectoryProperties.ImpersonateUser Property
Indicates whether the security of the client or server should be used when accessing Active Directory.

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

Syntax

public bool ImpersonateUser { get; set; }
Public Property ImpersonateUser As Boolean
	Get
	Set

Dim instance As AFActiveDirectoryProperties
Dim value As Boolean

value = instance.ImpersonateUser

instance.ImpersonateUser = value
public:
property bool ImpersonateUser {
	bool get ();
	void set (bool value);
}
member ImpersonateUser : bool with get, set

Property Value

Type: Boolean
When , the identity of the client will be used to access Active Directory. When , the identity of the server will be used.

Remarks

Accessing the information in active directory is controlled by security. So, there are two choices for the account that is used to access AD when doing the search, either the account of the user that is accessing the SDK (if this setting is ) or the account that the server is running under (if this setting is ).

Version Information

AFSDK


See Also

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