Skip to content


July 17, 2008

GetProp is a generic function that is used to return single-valued properties from objects in the Active Directory. If the property is empty it writes an entry to the application log via the LogData routine.

This function accepts two parameters:

  • strADSPath
  • strProperty


This is the DistinguishedName property of the object that we are working on. It is generated somewhere outside of this routine.


This is just whatever single-valued property that we are looking for. A listing of all properties for Active Directory Objects can be found on the main page of this site.


From → Scripting

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: