Exemplo n.º 1
0
    public string SearchGroupByDepartment(string departmentID, string conditionXml, bool recursive)
    {
        if (!header.VerifyCredentials(header.UserName, header.Password, header.Type))
        {
            return(string.Empty);
        }

        Guid gDepartmentID = (Guid)XmlSerializer.Deserialize(departmentID);

        return(XmlSerializer.Serialize(OrganizationPublicHelper.SearchGroupByDepartment(gDepartmentID, conditionXml, recursive)));
    }