If I want to retreive a user's job title using the code below...
......................
Dim strInput As String
Dim rsltPropColl As ResultPropertyCollection
Dim rsltPropValColl As ResultPropertyValueCollection
......................
......................
rsltPropValColl = rsltPropColl.Item(strInput)
The name of the attribute is usually called 'title' in AD. It is a single valued attribute, so you can pull from the first index or use the .Value property and cast to string.
haris101
Member
269 Points
188 Posts
Simple Question about ResultPropertyCollection
Aug 04, 2005 01:16 AM|LINK
......................
Dim strInput As String
Dim rsltPropColl As ResultPropertyCollection
Dim rsltPropValColl As ResultPropertyValueCollection
......................
......................
rsltPropValColl = rsltPropColl.Item(strInput)
...what should be the value of strInput? Thanks!
dunnry
Star
9098 Points
1806 Posts
Re: Simple Question about ResultPropertyCollection
Aug 04, 2005 02:37 PM|LINK
The name of the attribute is usually called 'title' in AD. It is a single valued attribute, so you can pull from the first index or use the .Value property and cast to string.
Weblog
The Book
LDAP Programming Help