How to get users of a group

From: Sharon (sharon_at_void.null)
Date: 01/15/05

  • Next message: ssgtmcgee: "HELP FAST!! Users logged in after a forced mass password change"
    Date: Sat, 15 Jan 2005 22:39:55 +0200
    
    

    Hi to all.
    I need to get all users that are members of a group.
    Problem is, looking at the properties of a group object, i can not find
    members collection:

    memberOf: CN=Users,CN=Builtin
    cn: Domain Users
    description: All domain users
    groupType: -2147483646
    instanceType: 4
    isCriticalSystemObject: True
    nTSecurityDescriptor: System.__ComObject
    distinguishedName: CN=Domain Users,CN=Users
    objectCategory: CN=Group,CN=Schema,CN=Configuration
    objectClass: System.Object[]
    objectGUID: System.Byte[]
    objectSid: System.Byte[]
    name: Domain Users
    sAMAccountName: Domain Users
    sAMAccountType: 268435456
    uSNChanged: System.__ComObject
    uSNCreated: System.__ComObject
    whenChanged: 1/10/2005 14:18:16
    whenCreated: 1/10/2005 14:18:16

    Thanks, Sharon.


  • Next message: ssgtmcgee: "HELP FAST!! Users logged in after a forced mass password change"

    Relevant Pages

    • Re: Add all users to a grouop - Help please
      ... I need to all all domain users to a group. ... script that read all the members of Group1 and added them in this new ... I re-ran the script for Group2 when asked. ... IsMember and Add methods of the group object. ...
      (microsoft.public.scripting.vbscript)
    • Re: How to get users of a group
      ... The Builtin Users group and Domain Users group do not generally have members ... > sAMAccountName: Domain Users ...
      (microsoft.public.windows.server.active_directory)
    • Re: Prevent Users interactive login, but allow them to run batch j
      ... That user is member of "Domain Users" group. ... on Locally) But the second setting "Log on as batch job" has no effect. ... but that the account needs something else. ... Domain Users as well as Authenticated Users are made members ...
      (microsoft.public.win2000.security)
    • Re: users have gray hair in Domain Users group
      ... The members of domain users group in both of the tree domains have ... when I use the below script to enumerate the membership of the ... domain users group in each of the domains, ... any reasons why I cannot enumerate the Domain Local group? ...
      (microsoft.public.win2000.active_directory)
    • Re: Need limited domain admin rights user account.
      ... I believe you are looking at the permission on the group object ... This is different from the members in the group, ... Domain Admins will have full control over the group while ...
      (microsoft.public.windows.server.security)