Prev: SQL Query in VBScript
Next: How to speed this up?
From: francois on 9 Mar 2010 18:13 Hello, Dan wrote : > Hey all, > I have used arrMemberOf = objGroup.GetEx("member") to obtain the members > of a group but they come in as the "cn=...." and I need to just obtain the > user name. How can I translate to that? I'm not sure, but I propose this: '----------------------------- For Each strMember in arrMemberOf Set objUser = GetObject("LDAP://" & strMember) WScript.echo objUser.sAMAccountName Next '----------------------------- -- François Lafont
|
Pages: 1 Prev: SQL Query in VBScript Next: How to speed this up? |