Hi all,
I have this in my logion script, and for some users it works, and others
the echo is blank?
Set CurrentUser = GetObject("LDAP://" & ADSysInfo.UserName)
wscript.echo ADSysInfo.UserName
strGroups = LCase(Join(CurrentUser.MemberOf))
wscript.echo strGroups
Is there any known reason someone might share, or a caveat to using this
method? Is there a more robust way to get group membership?
Thanks!
jlc
List info : http://www.activedir.org/mail_list.htm
List FAQ : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/