Exemplo n.º 1
0
        private static bool isProfessionalComplianceGroup(DynamicNode n)
        {
            DynamicNodeList groupFolder;

            if (n.HasParentsOfType("ComplianceGroupFolder", out groupFolder))
            {
                if (groupFolder.Count() == 1)
                {
                    if (groupFolder.First().Name == "Professional" || groupFolder.First().Name == "Plus")
                    {
                        return(true);
                    }
                }
            }
            return(false);
        }