How can I determine which groups I’m a member of for my current logon session?

You can use the whoami command with the /groups switch to display all the groups in the currently logged on user token as the following command and output show:

whoami /groups

C:Documents and Settingsali>whoami /groups

[Group 1] = “UKDomain Users”
[Group 2] = “Everyone”
[Group 3] = “MERCURYDebugger Users”
[Group 4] = “BUILTINAdministrators”
[Group 5] = “BUILTINUsers”
[Group 6] = “UKDomain Admins”
[Group 7] = “UKEnterprise Admins”
[Group 8] = “UKSchema Admins”
[Group 9] = “LOCAL”
[Group 10] = “NT AUTHORITYINTERACTIVE”
[Group 11] = “NT AUTHORITYAuthenticated Users”

Related Posts Plugin for WordPress, Blogger...

Got anything to say? Go ahead and leave a comment!