Jul 26, 2002 #1 LordJudas Technical User Apr 18, 2002 11 US I'm trying to get the memberof property of group. member = mygroup.memberof works but this is not a collection, not an object and not convertible to a string. Can someone help me, this is urgent
I'm trying to get the memberof property of group. member = mygroup.memberof works but this is not a collection, not an object and not convertible to a string. Can someone help me, this is urgent
Jul 29, 2002 #2 jonscott8 Programmer May 12, 2000 1,317 US It's an array of strings. Set oGroup = GetObject("LDAP://......" sGroups = oGroup.Memberof For Each sGroup In sGroups MsgBox sGroup Next Jon Hawkins Upvote 0 Downvote
It's an array of strings. Set oGroup = GetObject("LDAP://......" sGroups = oGroup.Memberof For Each sGroup In sGroups MsgBox sGroup Next Jon Hawkins
Jul 29, 2002 Thread starter #3 LordJudas Technical User Apr 18, 2002 11 US Are you sure ? When I tried it, I received an error code msg saying me this was not a collection. May be the group on which I tested contained only one group, that mean I need to differenciate if this is an array or a single string ? I will test tomorrow, get tuned and thanks for the answer Upvote 0 Downvote
Are you sure ? When I tried it, I received an error code msg saying me this was not a collection. May be the group on which I tested contained only one group, that mean I need to differenciate if this is an array or a single string ? I will test tomorrow, get tuned and thanks for the answer