Results 1 to 3 of 3

Thread: How to find out a user's nested security group membership

  1. #1
    Join Date
    Oct 2004
    Posts
    87

    How to find out a user's nested security group membership

    Can anyone tell me about a tool that I can use which will list a users security group membership and will also display nested groups? I want a tool for every single security groups that they are a member of. Thanks

  2. #2
    Join Date
    Nov 2005
    Posts
    403

    Re: How to find out a user's nested security group membership

    There is a simple way by binding the object and get its tokenGroups attribute. You can also easily do this in a script and can easily see the results by using ADFind:

    adfind -default -f samacccountname=someaccountname -dsq

    After that use the DN returned by the 1st command, list the token groups:

    adfind -b "CN=object.dn" -s base tokenGroups -resolvesids -sddl+

  3. #3
    Join Date
    Oct 2005
    Posts
    1,217
    Incase you want to find out for logged in user then use "Whoami.exe /all", it will show you nested groups. You might also want to try some other switches available with Whoami for formating of the results. On Windows 2003, it is available by default and you can download it on XP as well.

Similar Threads

  1. how to find out object type(user,computer,group) in active directory?
    By vivekmohan in forum Software Development
    Replies: 2
    Last Post: 06-08-2009, 04:19 PM
  2. need explanation on nested group code
    By vivekmohan in forum Software Development
    Replies: 4
    Last Post: 30-06-2009, 03:09 PM
  3. Extract user group membership details
    By CooRa in forum Active Directory
    Replies: 3
    Last Post: 12-12-2008, 08:30 PM
  4. Replies: 1
    Last Post: 19-06-2008, 01:58 AM
  5. Printing Group membership
    By Charlie R in forum Active Directory
    Replies: 1
    Last Post: 09-02-2007, 06:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,715,827,065.70433 seconds with 18 queries