System.__ComObject

hi

when i run this code :

public static void Main()

{

DirectoryEntry de = new DirectoryEntry( "LDAP://192.168.1.100/cn=a b, cn=Users, dc=soheila, dc=org"); PropertyCollection pc = de.Properties;

foreach(string propName in pc.PropertyNames)

{

foreach(object value in de.Properties[propName])

Console.WriteLine(" property = {0} value = {1}", propName, value);

}

}

some of the property value pair that it shows are:

property = uSNCreated value = System.__ComObject

property = uSNChanged value = System.__ComObject

property = badPasswordTime value = System.__ComObject

property = lastLogoff value = System.__ComObject

property = lastLogon value = System.__ComObject

property = pwdLastSet value = System.__ComObject

property = accountExpires

value = System.__ComObject

property = nTSecurityDescriptor value = System.__ComObject

i want to know what does it means and how can i use the "lastLogoff","lastLogon",,,,,properties?

regards........

thanks.

[1225 byte] By [sally_de] at [2007-12-23]

.NET Development

Site Classified