Home Forums SQL Server 2008 T-SQL (SS2K8) Checking user's AD Group RE: Checking user's AD Group
benjamin.reyes
SSCertifiable
Points: 5249
More actions
July 21, 2014 at 12:13 pm
#1731143
These run from the command line.
This finds the users in an AD group:
net group /domain NAMEOFGROUP
This finds the groups an AD user is in:
net users THENAMEOFTHEUSER /domain