active directory - F# - how do I index a collection (specifically the PropertyCollection) -
i'm trying wrap mind around f# thought fun convert simple c# code have looks user in active directory using system.directoryservices namespace , returns directoryentry object. part i'm struggling indexing propertycollection contained in directoryentry.
in c# once have directoryentry can @ properties in propertycollection doing this:
entry.properties["displayname"].value
i'm struggling how index collection in f#. can shed light on this?
you need add .
before brackets.
entry.properties.["displayname"].value
coming c++ / c# background found syntax bit odd @ first used it.
Comments
Post a Comment