public string GetUserInfoListByDepartment(string parentDepartmentID, bool recursive)
    {
        if (!header.VerifyCredentials(header.UserName, header.Password, header.Type))
        {
            return(string.Empty);
        }

        Guid gParentDepartmentID = (Guid)XmlSerializer.Deserialize(parentDepartmentID);

        string url = System.Configuration.ConfigurationManager.AppSettings["WSAF.PhotoUrl"];

        User[] users = OrganizationPublicHelper.GetUserInfoListByDepartment(gParentDepartmentID, recursive);

        foreach (User user in users)
        {
            if (!string.IsNullOrEmpty(url) && !string.IsNullOrEmpty(user.Photo))
            {
                user.Photo = url + user.Photo;
            }
        }
        return(XmlSerializer.Serialize(users));
    }