HuggyBear Posted July 5, 2005 Posted July 5, 2005 Is there a way using AutoIt scripts to find out which group(s) a username is a member of? Thanks, MH
nobby Posted July 6, 2005 Posted July 6, 2005 Your best bet is to use command line tools, parse into a text file and use Autoit to display the result.There is a very nice free tool Here and if you want to find more of this type of tools, check This Link CheersNobby
MSLx Fanboy Posted July 6, 2005 Posted July 6, 2005 Needs the beta version but...$colGroups = ObjGet("WinNT://" & @ComputerName) Dim $Array[1] $Array[0] = "group" $colGroups.Filter = $Array For $objGroup In $colGroups For $objUser In $objGroup.Members If $objUser.Name = @UserName Then MsgBox(0, "test", $objGroup.Name) EndIf Next NextVBS Source Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate())
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now