How can I find out in what group a user is located.
What I want to set is a variable $group and set it with the name of the group the user is in so I get
$group=Domain Users

Can someone provide me a sample code on how to do this.