' For Each $Group in $Groups ' $Contains = $Group.Users.Contains $Login.ID ' If $Contains ' If $Group.ID = $Login.Group.ID