예제 #1
0
    public string SearchDepartmentByParentDepartment(string parentDepartmentID, string conditionXml, bool recursive)
    {
        if (!header.VerifyCredentials(header.UserName, header.Password, header.Type))
        {
            return(string.Empty);
        }

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

        return(XmlSerializer.Serialize(OrganizationPublicHelper.SearchDepartmentByParentDepartment(gParentDepartmentID, conditionXml, recursive)));
    }