PrincipalContext Container Property – Extended


The Container property returns the value specified in the Container parameter of PrincipalContext class.  This allows developers to perform search or actions against the specific container and this should be referenced using LDAP, I will be showing them in my future blog posts.

 

There are different Extended methods and Methods provided for Container Property, these are similar to the ConnectedServer property which I have listed in my earlier blog post. Most common Extended method usage are

a) GetHashcode = If developers tend to place the object in Hash Table

b) Length = Gets the length of the Container object

c) ToString() = To populate the Container string defined in the PrincipalContext class

 

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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