Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/win32comext/adsi/demos/search.py   main(Download)
def getGC():
    cont = adsi.ADsOpenObject("GC:", options.user, options.password, 0, adsi.IID_IADsContainer)
    enum = adsi.ADsBuildEnumerator(cont)
    # Only 1 child of the global catalog.
    for e in enum:

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/win32comext/adsi/demos/search.py   TrustRouter(Download)
def getGC():
    cont = adsi.ADsOpenObject("GC:", options.user, options.password, 0, adsi.IID_IADsContainer)
    enum = adsi.ADsBuildEnumerator(cont)
    # Only 1 child of the global catalog.
    for e in enum:

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/win32comext/adsi/demos/search.py   SublimeSpeech(Download)
def getGC():
    cont = adsi.ADsOpenObject("GC:", options.user, options.password, 0, adsi.IID_IADsContainer)
    enum = adsi.ADsBuildEnumerator(cont)
    # Only 1 child of the global catalog.
    for e in enum:

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/win32comext/adsi/demos/search.py   SublimeSpeech(Download)
def getGC():
    cont = adsi.ADsOpenObject("GC:", options.user, options.password, 0, adsi.IID_IADsContainer)
    enum = adsi.ADsBuildEnumerator(cont)
    # Only 1 child of the global catalog.
    for e in enum:

src/w/i/WinSys-3.x-0.5.2/winsys/active_directory.py   WinSys-3.x(Download)
  def from_string (cls, moniker, username=None, password=None, interface=adsi.IID_IADs):
    return cls.from_object (
      adsi.ADsOpenObject (
        moniker,
        username, password,
  try:
    directory_search = adsi.ADsOpenObject (
      ldap_moniker (root, server, username, password),
      username, password,
      adsicon.ADS_SECURE_AUTHENTICATION | adsicon.ADS_SERVER_BIND | adsicon.ADS_FAST_BIND,

src/w/i/winsys-HEAD/winsys/active_directory.py   winsys(Download)
    def from_string(cls, moniker, username=None, password=None, interface=adsi.IID_IADs):
        return cls.from_object(
            adsi.ADsOpenObject(
                moniker,
                username, password,
    try:
        directory_search = adsi.ADsOpenObject(
            ldap_moniker(root, server, username, password),
            username, password,
            adsicon.ADS_SECURE_AUTHENTICATION | adsicon.ADS_SERVER_BIND | adsicon.ADS_FAST_BIND,