babou Posted March 13, 2009 Posted March 13, 2009 (edited) Hi all I've got domain user in localgroup, how can i do to know in witch group a user is ? I've find this Local $objUser = ObjGet("WinNT://" & @ComputerName & "/" & @UserName) For $oGroup in $objUser.Groups MsgBox(4096, "Groups", $oGroup.Name, 10) Next it woks on win2k but it not work on win2k3 64bit, do you have a idea ? thanks Edited March 13, 2009 by babou
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