Apr 25, 2007 #1 bcardona Programmer May 10, 2001 103 US i am wondering if any knows how to or if it is in active directory, to determine when a user logs on if he/she has domain admin rights.
i am wondering if any knows how to or if it is in active directory, to determine when a user logs on if he/she has domain admin rights.
Apr 26, 2007 #2 itsp1965 IS-IT--Management Dec 9, 2003 2,669 CA You can always create a batch file.. something similar to this; net user %username% > %username%.txt This will dump the output of the net user command to a text file. From there you can see what groups the user is a member of. I am sure there is a neater method using VBScript, but this is quick and dirty. Hope this helps. Upvote 0 Downvote
You can always create a batch file.. something similar to this; net user %username% > %username%.txt This will dump the output of the net user command to a text file. From there you can see what groups the user is a member of. I am sure there is a neater method using VBScript, but this is quick and dirty. Hope this helps.
Apr 26, 2007 #3 porkchopexpress IS-IT--Management May 26, 2005 3,996 GB You can use 'whoami /groups' from the command prompt to list this. http://www.jsifaq.com/SF/Tips/Tip.aspx?id=7308 or you could just look in the group in active directory to view a list of it's members. Upvote 0 Downvote
You can use 'whoami /groups' from the command prompt to list this. http://www.jsifaq.com/SF/Tips/Tip.aspx?id=7308 or you could just look in the group in active directory to view a list of it's members.
Apr 26, 2007 #4 LWComputingMVP IS-IT--Management Jul 3, 2005 870 US Or you can get the IFMEMBER utility from Microsoft which will check the group membership for you. Upvote 0 Downvote