How to check current user privilege under WinXP?

ys

Senior member
Oct 10, 1999
757
0
0
without having to click through Control Panel -> User Admin (or whatever).
Can this be done on command line or a simple script?
 

ys

Senior member
Oct 10, 1999
757
0
0
"net localgroup" shows the user groups under windows. Am I missing some switches?

Say, how can I query if an user belongs to the Administrators group?
 

stash

Diamond Member
Jun 22, 2000
5,468
0
0
You might be interested in Privbar.

It shows your current token, including group membership and privileges.