SenseNet.DirectoryServices.SyncTree.ContainsADPath C# (CSharp) Метод

ContainsADPath() публичный Метод

public ContainsADPath ( string objectADPath ) : bool
objectADPath string
Результат bool
        public bool ContainsADPath(string objectADPath)
        {
            // objectADPath pl.: LDAP://192.168.0.75/OU=MyOrg,OU=OtherOrg,OU=ExampleOrg,DC=Nativ,DC=local

            //if (objectADPath.StartsWith(ServerPath) && objectADPath.EndsWith(ADPath))
            if (objectADPath.EndsWith(ADPath) && !IsADPathExcluded(objectADPath))
                return true;

            return false;
        }
        public bool ContainsPortalPath(string objectPortalPath)