Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Active Directory DSML > Computer Group ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 541 of 615
Post > Topic >>

Computer Group Member****p

by =?Utf-8?B?SmVmZiBQYXR0b24=?= <JeffPatton@[EMAIL PROTECTED] Mar 29, 2007 at 02:20 PM

sorry for crossposting

memberof is listed as an attribute for computer objects but returns an 
automation error when attempting to access it using the following code:

            For Each strGroupName In objComputer.memberOf
                Set strGroup = GetObject("LDAP://" & strGroupName)
                x = x + 1
                ReDim Preserve arrDetail(x)
                arrDetail(x) = strGroup.CN
            Next

This is identical to the code I use to pull the list of groups a user 
belongs to, in searching on the internet I read that because a computer 
doesn't have a default group, this code won't work, is that in fact a true

statement?
 




 1 Posts in Topic:
Computer Group Membership
=?Utf-8?B?SmVmZiBQYXR0b24  2007-03-29 14:20:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 16:11:22 CST 2008.