You know how to get that information?
I'm not asking if the user has admin rights currently, considering also UAC, but if it is through any group, local or domain, part of the local admin group and potentially can get admin rights (UAC) Something like this only working locally when started as the user itself: whoami /groups which works in a domain through domain groups: BUILTIN\Administrators Alias S-1-5-32-544 Now the catch, also against a remote machine. I know the remote user account, but is that user a member of local administrators through any group membership? I haven't found anything useful, preferable in powershell. At the end I just need true or false. It's for a tool, connecting to a remote computer, retrieving the currently logged on user, but I can't get the information if that user is a local admin. Have I explained what I'm looking for good enough? :) Any ideas? -R
