| |
didorno
Posts: 361
Score: 0
Joined: 2/12/2005
From:
Status: offline
|
marino222, maybe you can use the next example from the System Administration Guide, part of the Windows .NET Server Resource Kit. Set objUser = GetObject _ ("LDAP://cn=myerken,ou=management,dc=fabrikam,dc=com") WScript.Echo "Distinguished Name: " & VbCrLf & _ objUser.Get("distinguishedName") objMemberOf = objUser.GetEx("MemberOf") WScript.Echo VbCrLf & "The user is a member of:" For Each Group in objMemberOf Wscript.echo Group Next Good luck !
_____________________________
Regular Expression ? I (L+o{1,}v{1,3}e\s)+[iI]t!$
|
|