• Sometimes this will tell you the group (sometimes not if theyre in multiple groups with access)

    xp_logininfo 'loginName'