public void OnGet(string id)
        {
            DirectoryMethods dirMethods = new DirectoryMethods();

            ADGroupsList = dirMethods.GetADGroupsList();
            Username     = HttpContext.Session.GetString("Username");
            if (id != null)
            {
                SearchQuery  = id;
                GroupDetails = dirMethods.GetADGroupDetails(SearchQuery);
                GroupMembers = GroupDetails.GroupObjectsNames;
                MemberTypes  = new List <string>();
                foreach (ADGroupObject m in GroupDetails.GroupObjects)
                {
                    MemberTypes.Add(m.ObjectTypeString);
                }
                string Domain = HttpContext.Session.GetString("Domain");
                ADActiveUserList = new DirectoryMethods().GetADUserList(Domain);
            }
            else
            {
                Console.WriteLine("string was empty or null");
            }
        }